Substantial rewrite of /SCAN (do_scan). Now provides total channel nick
count as well as filtered nick count to the header and footer formats - default header formats updated to show it. git-svn-id: svn://svn.code.sf.net/p/bitchx/code/trunk@48 13b04d17-f746-0410-82c6-800466cd88b0
This commit is contained in:
@@ -782,6 +782,18 @@ int a_isvoice, b_isvoice;
|
||||
return 0;
|
||||
}
|
||||
|
||||
/* Determines if the Nick matches the nick!user@host mask given. */
|
||||
int nick_match(NickList *nick, char *mask)
|
||||
{
|
||||
int match = 0;
|
||||
char *nuh = m_3dup(nick->nick, "!", nick->host);
|
||||
|
||||
match = wild_match(mask, nuh);
|
||||
new_free(&nuh);
|
||||
|
||||
return match;
|
||||
}
|
||||
|
||||
NickList *BX_sorted_nicklist(ChannelList *chan, int sort)
|
||||
{
|
||||
NickList *tmp, *l = NULL, *list = NULL, *last = NULL;
|
||||
|
||||
Reference in New Issue
Block a user