From 806af85d265673e599e91f1e0d364845b66ee82d Mon Sep 17 00:00:00 2001 From: Joah Date: Mon, 31 Dec 2012 14:49:19 -0500 Subject: [PATCH] Ported m_capab Crash Exploit Fix from charybdis Ported the fix from charybdis to ShadowIRCd. --- modules/m_capab.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/m_capab.c b/modules/m_capab.c index 8d078b5..14e2300 100644 --- a/modules/m_capab.c +++ b/modules/m_capab.c @@ -37,7 +37,7 @@ static int me_gcap(struct Client *, struct Client *, int, const char **); struct Message capab_msgtab = { "CAPAB", 0, 0, 0, MFLG_SLOW | MFLG_UNREG, - {{mr_capab, 0}, mg_ignore, mg_ignore, mg_ignore, mg_ignore, mg_ignore} + {{mr_capab, 2}, mg_ignore, mg_ignore, mg_ignore, mg_ignore, mg_ignore} }; struct Message gcap_msgtab = { "GCAP", 0, 0, 0, MFLG_SLOW,