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 681ddf64d2
commit 5f29102170
3 changed files with 4 additions and 4 deletions

View file

@ -809,7 +809,7 @@
is hidden (auth{} spoof).
</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.
</para>
</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
dynamic spoofs.
Network searches where a listing is given or the MASK option
is used are operspy commands.
Network searches where a listing is given are operspy
commands.

View file

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