diff options
| author | Adam <Adam@anope.org> | 2012-10-01 18:50:29 -0400 |
|---|---|---|
| committer | Adam <Adam@anope.org> | 2012-10-01 18:50:29 -0400 |
| commit | a434baed9154d90ad0dfd31c71a463fb8300bfd8 (patch) | |
| tree | 587b81c85c8abd676bb6fe1897415017a6d3f85a /modules/commands/os_session.h | |
| parent | f14a3dfb8a4cc9da7b5066ac8320265d54dba177 (diff) | |
Allow modules to store data in their own databases.
Diffstat (limited to 'modules/commands/os_session.h')
| -rw-r--r-- | modules/commands/os_session.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/commands/os_session.h b/modules/commands/os_session.h index aa32d9d58..ee37a7594 100644 --- a/modules/commands/os_session.h +++ b/modules/commands/os_session.h @@ -19,7 +19,7 @@ struct Exception : Serializable time_t time; /* When this exception was added */ time_t expires; /* Time when it expires. 0 == no expiry */ - const Anope::string serialize_name() const anope_override { return "Exception"; } + Exception() : Serializable("Exception") { } Serialize::Data serialize() const anope_override; static Serializable* unserialize(Serializable *obj, Serialize::Data &data); }; |
