From 872ce1658ef3cd340db542580f9474e0e0fdc8a8 Mon Sep 17 00:00:00 2001 From: brain Date: Thu, 2 Feb 2006 15:28:08 +0000 Subject: Broadcast SPYLIST and SPYNAMES usage to all opers git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3015 e03df62e-2008-0410-955e-edbf42e46eb7 --- src/modules/m_spy.cpp | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'src/modules/m_spy.cpp') diff --git a/src/modules/m_spy.cpp b/src/modules/m_spy.cpp index beeb0f0d3..3021b7c00 100644 --- a/src/modules/m_spy.cpp +++ b/src/modules/m_spy.cpp @@ -105,7 +105,8 @@ class cmd_spylist : public command_t void cmd_spylist::Handle (char **parameters, int pcnt, userrec *user) { - WriteServ(user->fd,"321 %s Channel :Users Name",user->nick); + WriteOpers("*** Oper %s used SPYLIST to list +s/+p channels.",user->nick); + WriteServ(user->fd,"321 %s Channel :Users Name",user->nick); for (chan_hash::const_iterator i = chanlist.begin(); i != chanlist.end(); i++) { WriteServ(user->fd,"322 %s %s %d :[+%s] %s",user->nick,i->second->name,usercount_i(i->second),chanmodes(i->second,true),i->second->topic); @@ -125,6 +126,8 @@ class cmd_spynames : public command_t void cmd_spynames::Handle (char **parameters, int pcnt, userrec *user) { chanrec* c; + + WriteOpers("*** Oper %s used SPYNAMES to view the users on a +s/+p channel.",user->nick); if (!pcnt) { -- cgit v1.2.3