mirror of
https://github.com/inspircd/inspircd.git
synced 2025-03-12 03:59:03 -04:00
Break! ...no actually, take the break out :)
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9578 e03df62e-2008-0410-955e-edbf42e46eb7
This commit is contained in:
parent
b9a3d9e71f
commit
39af36e058
@ -169,6 +169,7 @@ class ModuleTimedBans : public Module
|
||||
if (ServerInstance->Config->AllowHalfop)
|
||||
cr->WriteAllExcept(ServerInstance->FakeClient, true, '%', empty, "NOTICE %s :*** Timed ban on %s expired.", cr->name, safei->mask.c_str());
|
||||
|
||||
/* Removes the ban item for us, no ::erase() needed */
|
||||
ServerInstance->PI->SendModeStr(safei->channel, std::string("-b ") + setban[2]);
|
||||
ServerInstance->SendMode(setban, 3, ServerInstance->FakeClient);
|
||||
|
||||
@ -186,8 +187,6 @@ class ModuleTimedBans : public Module
|
||||
/* Where the hell did our channel go?! */
|
||||
TimedBanList.erase(safei);
|
||||
}
|
||||
// we used to delete the item here, but we dont need to as the servermode above does it for us,
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user