From 7e2ca393ad266a94d9fb7befbbe413c2777deed9 Mon Sep 17 00:00:00 2001 From: Bram Matthys Date: Thu, 11 Sep 2003 19:33:20 +0000 Subject: [PATCH] - Minor +f code tweaks. --- Changes | 1 + src/channel.c | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/Changes b/Changes index 8d7559f39..5e95ef916 100644 --- a/Changes +++ b/Changes @@ -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. diff --git a/src/channel.c b/src/channel.c index f00fbda0a..688b09ae2 100644 --- a/src/channel.c +++ b/src/channel.c @@ -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) {