1
0
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:
Adam
2011-07-26 23:18:54 -04:00
parent e8c00b9e8b
commit 088337ea07
3 changed files with 15 additions and 11 deletions
+4 -3
View File
@@ -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;
}
};