[srvx-commits] CVS: services/src opserv.c,1.297,1.298
Brought to you by:
entrope
|
From: Entrope <en...@us...> - 2002-12-17 20:25:23
|
Update of /cvsroot/srvx/services/src
In directory sc8-pr-cvs1:/tmp/cvs-serv23409/src
Modified Files:
opserv.c
Log Message:
send a debug notice when removing someone from a bad-word channel
Index: opserv.c
===================================================================
RCS file: /cvsroot/srvx/services/src/opserv.c,v
retrieving revision 1.297
retrieving revision 1.298
diff -C2 -r1.297 -r1.298
*** opserv.c 14 Dec 2002 14:38:49 -0000 1.297
--- opserv.c 17 Dec 2002 20:25:20 -0000 1.298
***************
*** 160,163 ****
--- 160,164 ----
#define OSMSG_NICK_UNRESERVED "No longer reserving nick $b%s$b."
#define OSMSG_NOT_RESERVED "Nick $b%s$b is not reserved."
+ #define OSMSG_ILLEGAL_CHANNEL_USER "Found $b%s$b in bad-word channel $b%s$b; removing the user."
#define OSMSG_ILLEGAL_REASON "This channel is illegal."
#define OSMSG_ILLEGAL_KILL_REASON "Joined an illegal modeless channel - do not repeat."
***************
*** 1864,1867 ****
--- 1865,1869 ----
if (channel->bad_channel) {
+ opserv_debug(OSMSG_ILLEGAL_CHANNEL_USER, user->nick, channel->name);
if (channel->name[0] == '#') {
if (!GetUserMode(channel, opserv)) {
|