diff options
Diffstat (limited to 'src/modules')
-rw-r--r-- | src/modules/m_timedbans.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/modules/m_timedbans.cpp b/src/modules/m_timedbans.cpp index 25dccde63..610057ae3 100644 --- a/src/modules/m_timedbans.cpp +++ b/src/modules/m_timedbans.cpp @@ -177,6 +177,11 @@ class ModuleTimedBans : public Module Srv->SendMode(setban,3,temp); DELETE(temp); } + else + { + /* Where the hell did our channel go?! */ + TimedBanList.erase(i); + } // we used to delete the item here, but we dont need to as the servermode above does it for us, break; } |