diff options
author | Adam <Adam@anope.org> | 2013-12-01 21:16:50 -0500 |
---|---|---|
committer | Adam <Adam@anope.org> | 2013-12-01 21:16:50 -0500 |
commit | b5966cf99e2b1ffd578e0aa371803cb17013956f (patch) | |
tree | e8f678b15f30f1aa9ce6b3768218b619bac55170 /modules/commands/os_session.cpp | |
parent | faab2c67937cf23ef87dfa0b8d0224bfabd61425 (diff) |
Fix crash from loading exceptions with db_old and then unloading db_old
Diffstat (limited to 'modules/commands/os_session.cpp')
-rw-r--r-- | modules/commands/os_session.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/modules/commands/os_session.cpp b/modules/commands/os_session.cpp index be003900d..8e210d5da 100644 --- a/modules/commands/os_session.cpp +++ b/modules/commands/os_session.cpp @@ -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); |