channels: fix IsChannelName() to actually use IsChanPrefix().
This commit is contained in:
parent
6e86cdd6d6
commit
1af4eff6f6
1 changed files with 1 additions and 1 deletions
|
@ -193,7 +193,7 @@ typedef int (*ExtbanFunc)(const char *data, struct Client *client_p,
|
|||
#define IsMember(who, chan) ((who && who->user && \
|
||||
find_channel_membership(chan, who)) ? 1 : 0)
|
||||
|
||||
#define IsChannelName(name) ((name) && (*(name) == '#' || *(name) == '&'))
|
||||
#define IsChannelName(name) ((name) && (IsChanPrefix(*(name))))
|
||||
|
||||
/* extban function results */
|
||||
#define EXTBAN_INVALID -1 /* invalid mask, false even if negated */
|
||||
|
|
Loading…
Reference in a new issue