diff --git a/Changes b/Changes index eb5fa873f..67ea05731 100644 --- a/Changes +++ b/Changes @@ -2702,4 +2702,4 @@ seen. gmtime warning still there - Made CmodeAdd return MODERR_EXISTS if the mode already exists - Fixes for TRE under win32 - Made Extbans use the module object system - +- Fixed a problem caused by the previous change diff --git a/src/channel.c b/src/channel.c index 088c678e3..676299899 100644 --- a/src/channel.c +++ b/src/channel.c @@ -2263,7 +2263,7 @@ int do_mode_char(aChannel *chptr, long modetype, char modechar, char *param, if ((tmpstr[0] == '~') && MyClient(cptr) && !bounce) { /* extban: check access if needed */ - ExtbanInfo *p = findmod_by_bantype(tmpstr[1]); + Extban *p = findmod_by_bantype(tmpstr[1]); if (p && p->is_ok && !p->is_ok(cptr, chptr, tmpstr, EXBCHK_ACCESS, what, EXBTYPE_BAN)) { if (IsAnOper(cptr)) @@ -2299,7 +2299,7 @@ int do_mode_char(aChannel *chptr, long modetype, char modechar, char *param, if ((tmpstr[0] == '~') && MyClient(cptr) && !bounce) { /* extban: check access if needed */ - ExtbanInfo *p = findmod_by_bantype(tmpstr[1]); + Extban *p = findmod_by_bantype(tmpstr[1]); if (p && p->is_ok && !p->is_ok(cptr, chptr, tmpstr, EXBCHK_ACCESS, what, EXBTYPE_EXCEPT)) { if (IsAnOper(cptr)) @@ -3169,7 +3169,7 @@ char *clean_ban_mask(char *mask, int what) char *cp; char *user; char *host; - ExtbanInfo *p; + Extban *p; cp = index(mask, ' '); if (cp)