[srvx-commits] CVS: services/src modcmd.c,1.27,1.28
Brought to you by:
entrope
|
From: Entrope <en...@us...> - 2002-09-16 21:10:22
|
Update of /cvsroot/srvx/services/src
In directory usw-pr-cvs1:/tmp/cvs-serv7357/src
Modified Files:
modcmd.c
Log Message:
fix compile error from previous commit (sigh)
Index: modcmd.c
===================================================================
RCS file: /cvsroot/srvx/services/src/modcmd.c,v
retrieving revision 1.27
retrieving revision 1.28
diff -C2 -r1.27 -r1.28
*** modcmd.c 16 Sep 2002 19:28:10 -0000 1.27
--- modcmd.c 16 Sep 2002 21:10:19 -0000 1.28
***************
*** 690,693 ****
--- 690,694 ----
pcmd->uses++;
if (perms & ACTION_NOCHANNEL) channel = NULL;
+ pos = 0;
if (!(cmd.flags & MODCMD_NO_LOG)) {
/* We reassemble the input line here. This lets services do
***************
*** 695,699 ****
* while still having the commands logged uniformly.
*/
- pos = 0;
if (channel) pos += sprintf(logbuf+pos, "(%s) ", channel->name);
pos += sprintf(logbuf+pos, "[%s", user->nick);
--- 696,699 ----
|