From c49148019103154a0d70c408450d78775e989c9b Mon Sep 17 00:00:00 2001 From: brain Date: Thu, 2 Feb 2006 15:34:29 +0000 Subject: Added channel name to snotice git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3016 e03df62e-2008-0410-955e-edbf42e46eb7 --- src/modules/m_spy.cpp | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'src/modules') diff --git a/src/modules/m_spy.cpp b/src/modules/m_spy.cpp index 3021b7c00..5d100528a 100644 --- a/src/modules/m_spy.cpp +++ b/src/modules/m_spy.cpp @@ -105,7 +105,7 @@ class cmd_spylist : public command_t void cmd_spylist::Handle (char **parameters, int pcnt, userrec *user) { - WriteOpers("*** Oper %s used SPYLIST to list +s/+p channels.",user->nick); + WriteOpers("*** Oper %s used SPYLIST to list +s/+p channels and keys.",user->nick); WriteServ(user->fd,"321 %s Channel :Users Name",user->nick); for (chan_hash::const_iterator i = chanlist.begin(); i != chanlist.end(); i++) { @@ -127,8 +127,6 @@ class cmd_spynames : public command_t { chanrec* c; - WriteOpers("*** Oper %s used SPYNAMES to view the users on a +s/+p channel.",user->nick); - if (!pcnt) { WriteServ(user->fd,"366 %s * :End of /NAMES list.",user->nick); @@ -137,6 +135,9 @@ class cmd_spynames : public command_t if (ServerInstance->Parser->LoopCall(this,parameters,pcnt,user,0,pcnt-1,0)) return; + + WriteOpers("*** Oper %s used SPYNAMES to view the users on %s",user->nick,parameters[0]); + c = FindChan(parameters[0]); if (c) { -- cgit v1.2.3