From 8d1a619860de78224da0ae1acac7d86d90ab31ca Mon Sep 17 00:00:00 2001 From: michael Date: Thu, 3 Jan 2013 00:16:51 +0000 Subject: - Backported -r1723 [Fixed possible core on USERHOST/ISON/CAPAB which for some reason only happens with glibc with optimization enabled. Reported by Mantas] git-svn-id: svn://svn.ircd-hybrid.org/svnroot/ircd-hybrid/trunk@1728 82007160-df01-0410-b94d-b575c5fd34c7 --- modules/m_capab.c | 2 +- modules/m_ison.c | 2 +- modules/m_userhost.c | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) (limited to 'modules') diff --git a/modules/m_capab.c b/modules/m_capab.c index 7714ce2..1f951e9 100644 --- a/modules/m_capab.c +++ b/modules/m_capab.c @@ -62,7 +62,7 @@ mr_capab(struct Client *client_p, struct Client *source_p, } static struct Message capab_msgtab = { - "CAPAB", 0, 0, 0, MAXPARA, MFLG_SLOW, 0, + "CAPAB", 0, 0, 2, MAXPARA, MFLG_SLOW, 0, { mr_capab, m_ignore, m_ignore, m_ignore, m_ignore, m_ignore } }; diff --git a/modules/m_ison.c b/modules/m_ison.c index bcd0c8e..884c1a2 100644 --- a/modules/m_ison.c +++ b/modules/m_ison.c @@ -107,7 +107,7 @@ m_ison(struct Client *client_p, struct Client *source_p, } static struct Message ison_msgtab = { - "ISON", 0, 0, 1, 1, MFLG_SLOW, 0, + "ISON", 0, 0, 2, 1, MFLG_SLOW, 0, {m_unregistered, m_ison, m_ignore, m_ignore, m_ison, m_ignore} }; diff --git a/modules/m_userhost.c b/modules/m_userhost.c index 81cddf6..a27cbfb 100644 --- a/modules/m_userhost.c +++ b/modules/m_userhost.c @@ -100,7 +100,7 @@ m_userhost(struct Client *client_p, struct Client *source_p, } static struct Message userhost_msgtab = { - "USERHOST", 0, 0, 1, 1, MFLG_SLOW, 0, + "USERHOST", 0, 0, 2, 1, MFLG_SLOW, 0, {m_unregistered, m_userhost, m_userhost, m_ignore, m_userhost, m_ignore} }; -- cgit