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:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user