Add $ishalfop(<nick> <channel>) scripting function, as per EPIC.

git-svn-id: svn://svn.code.sf.net/p/bitchx/code/trunk@34 13b04d17-f746-0410-82c6-800466cd88b0
This commit is contained in:
Kevin Easton
2008-05-07 08:48:49 +00:00
parent 998453de9f
commit 285b02c36a
6 changed files with 54 additions and 6 deletions

View File

@@ -494,6 +494,7 @@ static int already_done = 0;
/* names.c */
global_table[IS_CHANOP] = (Function_ptr) BX_is_chanop;
global_table[IS_HALFOP] = (Function_ptr) BX_is_halfop;
global_table[IS_CHANNEL] = (Function_ptr) BX_is_channel;
global_table[MAKE_CHANNEL] = (Function_ptr) BX_make_channel; /* this is really in misc.c */
global_table[IM_ON_CHANNEL] = (Function_ptr) BX_im_on_channel;