Update of /cvsroot/srvx/services/src
In directory sc8-pr-cvs1:/tmp/cvs-serv27743/src
Modified Files:
opserv.c
Log Message:
fix "part" command reasons
Index: opserv.c
===================================================================
RCS file: /cvsroot/srvx/services/src/opserv.c,v
retrieving revision 1.311
retrieving revision 1.312
diff -C2 -r1.311 -r1.312
*** opserv.c 12 Jun 2003 10:56:11 -0000 1.311
--- opserv.c 14 Jun 2003 12:52:25 -0000 1.312
***************
*** 1097,1101 ****
return 0;
}
! reason = (argc < 2) ? "Leaving." : unsplit_string(argv+1, argc-1, NULL);
opserv_notice(user, OSMSG_LEAVING, channel->name);
DelChannelUser(opserv, channel, reason, 0);
--- 1097,1101 ----
return 0;
}
! reason = (argc < 3) ? "Leaving." : unsplit_string(argv+2, argc-2, NULL);
opserv_notice(user, OSMSG_LEAVING, channel->name);
DelChannelUser(opserv, channel, reason, 0);
|