Update of /cvsroot/x2serv/x2/source
In directory usw-pr-cvs1:/tmp/cvs-serv458/source
Modified Files:
commands.c
Log Message:
Fixed suspend. It took the wrong argument as suspendreason.
Index: commands.c
===================================================================
RCS file: /cvsroot/x2serv/x2/source/commands.c,v
retrieving revision 1.156
retrieving revision 1.157
diff -C2 -r1.156 -r1.157
*** commands.c 2001/08/28 17:37:08 1.156
--- commands.c 2001/09/03 13:28:46 1.157
***************
*** 1697,1704 ****
}
! sprintf(Buf2, "<%s> %s [%s]", uptr->Nick, rest, t2s(Buf, time(NULL)));
cptr->Suspended = malloc(strlen(Buf2) + 1);
strcpy(cptr->Suspended, Buf2);
! send_to_user(uptr, "Channel %s is marked as suspended: %s", cptr->Name, rest);
cptr->settings[INCHAN] = 0;
send_part(cptr, "Suspended by %s.", uptr->Nick);
--- 1697,1704 ----
}
! sprintf(Buf2, "<%s> %s [%s]", uptr->Nick, Arg2, t2s(Buf, time(NULL)));
cptr->Suspended = malloc(strlen(Buf2) + 1);
strcpy(cptr->Suspended, Buf2);
! send_to_user(uptr, "Channel %s is marked as suspended: %s", cptr->Name, Arg2);
cptr->settings[INCHAN] = 0;
send_part(cptr, "Suspended by %s.", uptr->Nick);
|