diff options
Diffstat (limited to 'src/modules/m_banexception.cpp')
-rw-r--r-- | src/modules/m_banexception.cpp | 14 |
1 files changed, 3 insertions, 11 deletions
diff --git a/src/modules/m_banexception.cpp b/src/modules/m_banexception.cpp index dafa47d2c..9137c09d9 100644 --- a/src/modules/m_banexception.cpp +++ b/src/modules/m_banexception.cpp @@ -61,8 +61,7 @@ public: { if (chan != NULL) { - modelist *list; - chan->GetExt(be.GetInfoKey(), list); + modelist *list = be.extItem.get(chan); if (!list) return MOD_RES_PASSTHRU; @@ -90,8 +89,7 @@ public: { if (chan != NULL) { - modelist *list; - chan->GetExt(be.GetInfoKey(), list); + modelist *list = be.extItem.get(chan); if (!list) return MOD_RES_PASSTHRU; @@ -114,8 +112,7 @@ public: { if (chan != NULL) { - modelist* list; - chan->GetExt(be.GetInfoKey(), list); + modelist *list = be.extItem.get(chan); if (!list) { @@ -146,11 +143,6 @@ public: be.DoSyncChannel(chan, proto, opaque); } - virtual void OnChannelDelete(Channel* chan) - { - be.DoChannelDelete(chan); - } - virtual void OnRehash(User* user) { be.DoRehash(); |