From 5f291021701ef72e065333273ca1e20608a0d2c5 Mon Sep 17 00:00:00 2001 From: Jilles Tjoelker Date: Thu, 1 Jan 2009 20:32:30 +0100 Subject: [PATCH] Make SCAN UMODES GLOBAL NO-LIST MASK no longer an operspy command. This agrees with allowing MODE as non-operspy. --- doc/sgml/oper-guide/commands.sgml | 2 +- help/opers/scan | 4 ++-- modules/m_scan.c | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/doc/sgml/oper-guide/commands.sgml b/doc/sgml/oper-guide/commands.sgml index 4b615d12..6654cd23 100644 --- a/doc/sgml/oper-guide/commands.sgml +++ b/doc/sgml/oper-guide/commands.sgml @@ -809,7 +809,7 @@ is hidden (auth{} spoof). - Network searches where a listing is given or the mask option is used + Network searches where a listing is given are operspy commands. diff --git a/help/opers/scan b/help/opers/scan index bca25248..5b0f764f 100644 --- a/help/opers/scan +++ b/help/opers/scan @@ -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. diff --git a/modules/m_scan.c b/modules/m_scan.c index 23a64b35..f0ce7d87 100644 --- a/modules/m_scan.c +++ b/modules/m_scan.c @@ -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)) {