diff options
Diffstat (limited to 'modules/commands/os_session.h')
-rw-r--r-- | modules/commands/os_session.h | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/modules/commands/os_session.h b/modules/commands/os_session.h index 8d04e31c5..898c40fa5 100644 --- a/modules/commands/os_session.h +++ b/modules/commands/os_session.h @@ -10,10 +10,7 @@ struct Exception : Serializable time_t time; /* When this exception was added */ time_t expires; /* Time when it expires. 0 == no expiry */ - Exception() : Serializable("Exception") - { - } - + Anope::string serialize_name() const { return "Exception"; } serialized_data serialize(); static void unserialize(serialized_data &data); }; |