Ported m_capab Crash Exploit Fix from charybdis

Ported the fix from charybdis to ShadowIRCd.
This commit is contained in:
Joah 2012-12-31 14:49:19 -05:00
parent 5585d1fa16
commit 806af85d26
1 changed files with 1 additions and 1 deletions

View File

@ -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,