summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authormichael <michael@82007160-df01-0410-b94d-b575c5fd34c7>2013-05-30 01:12:20 +0000
committermichael <michael@82007160-df01-0410-b94d-b575c5fd34c7>2013-05-30 01:12:20 +0000
commit9f69ad60ff28ba4f1d22b0e92fcf54f1757dcac4 (patch)
tree7992c4dfdb6abb9ade6ea32b4cd00b48c19a52bf /src
parent110be8119af5cc8d9d337265080063cb893ed3ac (diff)
- m_svsmode.c: avoid HostServ floods
git-svn-id: svn://svn.ircd-hybrid.org/svnroot/ircd-hybrid/branches/8.1.x@2142 82007160-df01-0410-b94d-b575c5fd34c7
Diffstat (limited to 'src')
-rw-r--r--src/s_user.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/s_user.c b/src/s_user.c
index 9b4dc13..d63eebe 100644
--- a/src/s_user.c
+++ b/src/s_user.c
@@ -1093,7 +1093,7 @@ user_set_hostmask(struct Client *target_p, const char *hostname, const int what)
DLINK_FOREACH(ptr, target_p->channel.head)
{
- char modebuf[4], nickbuf[NICKLEN * 3 + 3];
+ char modebuf[4], nickbuf[NICKLEN * 3 + 3] = { '\0' };
char *p = modebuf;
int len = 0;
const struct Membership *ms = ptr->data;