From: Jilles Tjoelker Date: Thu, 1 Jan 2009 19:32:30 +0000 (+0100) Subject: Make SCAN UMODES GLOBAL NO-LIST MASK no longer an operspy command. X-Git-Url: https://jfr.im/git/irc/rqf/shadowircd.git/commitdiff_plain/c80b76f022a858bf6cb43771d85b6f1309d5bf95 Make SCAN UMODES GLOBAL NO-LIST MASK no longer an operspy command. This agrees with allowing MODE as non-operspy. --- diff --git a/doc/sgml/oper-guide/commands.sgml b/doc/sgml/oper-guide/commands.sgml index 4b615d1..6654cd2 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 bca2524..5b0f764 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 23a64b3..f0ce7d8 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)) {