1
0
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:
Bram Matthys
2003-09-11 19:33:20 +00:00
parent 8f5fcc1704
commit 7e2ca393ad
2 changed files with 3 additions and 2 deletions
+1
View File
@@ -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
View File
@@ -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)
{