mirror of
https://github.com/anope/anope.git
synced 2026-06-30 16:26:39 +02:00
Fixed /os ignore, /os exception del, and a crash in /cs entrymsg
This commit is contained in:
@@ -143,10 +143,11 @@ class ExceptionDelCallback : public NumberList
|
||||
|
||||
static void DoDel(CommandSource &source, unsigned index)
|
||||
{
|
||||
FOREACH_MOD(I_OnExceptionDel, OnExceptionDel(source.u, sessionservice->GetExceptions()[index]));
|
||||
Exception *e = sessionservice->GetExceptions()[index];
|
||||
FOREACH_MOD(I_OnExceptionDel, OnExceptionDel(source.u, e));
|
||||
|
||||
sessionservice->DelException(sessionservice->GetExceptions()[index]);
|
||||
delete sessionservice->GetExceptions()[index];
|
||||
sessionservice->DelException(e);
|
||||
delete e;
|
||||
}
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user