mirror of
https://github.com/unrealircd/unrealircd.git
synced 2026-07-08 02:43:12 +02:00
- Minor +f code tweaks.
This commit is contained in:
@@ -2413,3 +2413,4 @@ seen. gmtime warning still there
|
||||
- Fixed Q:lined nickname msgs during linking and a debug fix.
|
||||
- Fixed a SVSMOTD crashbug (removing of motd).
|
||||
- Fix-for-fix-for-+mu-fix (it was still crashing)... don't ask.
|
||||
- Minor +f code tweaks.
|
||||
|
||||
+2
-2
@@ -2624,14 +2624,14 @@ int do_mode_char(aChannel *chptr, long modetype, char modechar, char *param,
|
||||
chptr->mode.floodprot = MyMalloc(sizeof(ChanFloodProt));
|
||||
memcpy(chptr->mode.floodprot, &newf, sizeof(ChanFloodProt));
|
||||
} /* !bounce */
|
||||
ircsprintf(tmpbuf, channel_modef_string(chptr->mode.floodprot));
|
||||
strcpy(tmpbuf, channel_modef_string(chptr->mode.floodprot));
|
||||
tmpstr = tmpbuf;
|
||||
retval = 1;
|
||||
} else
|
||||
{ /* MODE_DEL */
|
||||
if (!chptr->mode.floodprot)
|
||||
break; /* no change */
|
||||
ircsprintf(tmpbuf, channel_modef_string(chptr->mode.floodprot));
|
||||
strcpy(tmpbuf, channel_modef_string(chptr->mode.floodprot));
|
||||
tmpstr = tmpbuf;
|
||||
if (!bounce)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user