Fix op-moderate (cmode +z) for channel names with '@'.
This commit is contained in:
parent
7748deb557
commit
04bf0760f9
|
@ -392,12 +392,6 @@ build_target_list(int p_or_n, const char *command, struct Client *client_p,
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
|
||||||
if(strchr(nick, '@') || (IsOper(source_p) && (*nick == '$')))
|
|
||||||
{
|
|
||||||
handle_special(p_or_n, command, client_p, source_p, nick, text);
|
|
||||||
continue;
|
|
||||||
}
|
|
||||||
|
|
||||||
if(IsServer(client_p) && *nick == '=' && nick[1] == '#')
|
if(IsServer(client_p) && *nick == '=' && nick[1] == '#')
|
||||||
{
|
{
|
||||||
nick++;
|
nick++;
|
||||||
|
@ -424,6 +418,12 @@ build_target_list(int p_or_n, const char *command, struct Client *client_p,
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if(strchr(nick, '@') || (IsOper(source_p) && (*nick == '$')))
|
||||||
|
{
|
||||||
|
handle_special(p_or_n, command, client_p, source_p, nick, text);
|
||||||
|
continue;
|
||||||
|
}
|
||||||
|
|
||||||
/* no matching anything found - error if not NOTICE */
|
/* no matching anything found - error if not NOTICE */
|
||||||
if(p_or_n != NOTICE)
|
if(p_or_n != NOTICE)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue