[srvx-commits] CVS: services/src modcmd.c,1.68,1.69
Brought to you by:
entrope
From: Entrope <en...@us...> - 2003-10-05 03:27:52
|
Update of /cvsroot/srvx/services/src In directory sc8-pr-cvs1:/tmp/cvs-serv23316/src Modified Files: modcmd.c Log Message: send "Service removed" reply before removing the service, in case you use a service to remove itself (which nukes the command pointer) Index: modcmd.c =================================================================== RCS file: /cvsroot/srvx/services/src/modcmd.c,v retrieving revision 1.68 retrieving revision 1.69 diff -C2 -r1.68 -r1.69 *** modcmd.c 26 Sep 2003 15:27:16 -0000 1.68 --- modcmd.c 5 Oct 2003 03:27:49 -0000 1.69 *************** *** 1704,1709 **** } DelUser(service->bot, NULL, 1, reason); - dict_remove(services, name); reply(MCMSG_SERVICE_REMOVED, name); return 1; } --- 1704,1709 ---- } DelUser(service->bot, NULL, 1, reason); reply(MCMSG_SERVICE_REMOVED, name); + dict_remove(services, name); return 1; } |