Change NICKSORT_OP to NICKSORT_STAT (sorts nicks by channel status -
chanop first, then halops, voices and others). Added /SCAN -stat to sort nicks using NICKSORT_OP. Removed NICKSORT_VOICE - it was broken anyway. Removed "scan" plugin, this functionality is now covered by /SCAN -stat. git-svn-id: svn://svn.code.sf.net/p/bitchx/code/trunk@52 13b04d17-f746-0410-82c6-800466cd88b0
This commit is contained in:
@@ -48,15 +48,15 @@ int nick_match(NickList *nick, char *mask);
|
||||
NickList *BX_sorted_nicklist(ChannelList *, int);
|
||||
void BX_clear_sorted_nicklist(NickList **);
|
||||
|
||||
|
||||
/* Warning: These numeric values can be taken directly from scripts via
|
||||
* the $channel() function - so BEWARE if you change them! */
|
||||
#define NICKSORT_NORMAL 0
|
||||
#define NICKSORT_NONE 1
|
||||
#define NICKSORT_NICK 2
|
||||
#define NICKSORT_HOST 3
|
||||
#define NICKSORT_TIME 4
|
||||
#define NICKSORT_IP 5
|
||||
#define NICKSORT_OP 6
|
||||
#define NICKSORT_VOICE 7
|
||||
#define NICKSORT_STAT 6
|
||||
|
||||
Flooding *BX_find_name_in_floodlist(char *, char *, HashEntry *, unsigned int, int);
|
||||
Flooding *BX_add_name_to_floodlist(char *, char *, char *, HashEntry *, unsigned int);
|
||||
|
||||
Reference in New Issue
Block a user