[srvx-commits] CVS: services/src chanserv.c,1.161.2.81,1.161.2.82
Brought to you by:
entrope
From: Miles P. <pet...@us...> - 2001-09-02 06:52:09
|
Update of /cvsroot/srvx/services/src In directory usw-pr-cvs1:/tmp/cvs-serv1712 Modified Files: Tag: rel-1_0 chanserv.c Log Message: fix !ping when toys are disabled (for Privilaged anyways) Index: chanserv.c =================================================================== RCS file: /cvsroot/srvx/services/src/chanserv.c,v retrieving revision 1.161.2.81 retrieving revision 1.161.2.82 diff -C2 -r1.161.2.81 -r1.161.2.82 *** chanserv.c 2001/09/01 03:03:33 1.161.2.81 --- chanserv.c 2001/09/02 06:52:04 1.161.2.82 *************** *** 4324,4327 **** --- 4324,4333 ---- case 'n': chanserv_notice(user, CSMSG_PING_RESPONSE); break; + case 'd': { + if (IsPrivileged(user)) { + irc_privmsg(chanserv->numeric, channel->name, response); + } + break; + } } } else { |