1
0
mirror of https://github.com/unrealircd/unrealircd.git synced 2026-07-10 02:43:13 +02:00

win32 fix attempt

This commit is contained in:
Bram Matthys
2006-05-22 18:24:11 +00:00
parent 6fc5cb169b
commit e03b664abf
+4 -1
View File
@@ -572,9 +572,12 @@ int m_svs2mode(aClient *cptr, aClient *sptr, int parc, char *parv[])
}
void add_send_mode_param(aChannel *chptr, aClient *from, char what, char mode, char *param) {
static char *modes = modebuf, lastwhat;
static char *modes = NULL, lastwhat;
static short count = 0;
short send = 0;
if (!modes) modes = modebuf;
if (!modebuf[0]) {
modes = modebuf;
*modes++ = what;