Make SCAN UMODES GLOBAL NO-LIST MASK <mask> no longer an operspy command.

This agrees with allowing MODE <nick> as non-operspy.
This commit is contained in:
Jilles Tjoelker 2009-01-01 20:32:30 +01:00
parent 3471ceb507
commit c80b76f022
3 changed files with 4 additions and 4 deletions

View File

@ -809,7 +809,7 @@
is hidden (auth{} spoof). is hidden (auth{} spoof).
</para> </para>
<para> <para>
Network searches where a listing is given or the mask option is used Network searches where a listing is given
are operspy commands. are operspy commands.
</para> </para>
</sect2> </sect2>

View File

@ -12,5 +12,5 @@ nick!user@host mask to be selected. Only the displayed host
is considered, not the IP address or real host behind is considered, not the IP address or real host behind
dynamic spoofs. dynamic spoofs.
Network searches where a listing is given or the MASK option Network searches where a listing is given are operspy
is used are operspy commands. commands.

View File

@ -172,7 +172,7 @@ scan_umodes(struct Client *client_p, struct Client *source_p, int parc,
mask = parv[++i]; mask = parv[++i];
} }
} }
if (target_list == &global_client_list && (list_users || mask)) if (target_list == &global_client_list && list_users)
{ {
if (IsOperSpy(source_p)) if (IsOperSpy(source_p))
{ {