1
0
mirror of https://github.com/anope/anope.git synced 2026-07-09 09:23:13 +02:00

Fix crash from loading exceptions with db_old and then unloading db_old

This commit is contained in:
Adam
2013-12-01 21:16:50 -05:00
parent faab2c6793
commit b5966cf99e
3 changed files with 12 additions and 5 deletions
+5
View File
@@ -42,6 +42,11 @@ class MySessionService : public SessionService
public:
MySessionService(Module *m) : SessionService(m), Exceptions("Exception") { }
Exception *CreateException() anope_override
{
return new Exception();
}
void AddException(Exception *e) anope_override
{
this->Exceptions->push_back(e);