summaryrefslogtreecommitdiff
path: root/modules/commands/os_session.h
diff options
context:
space:
mode:
authorAdam <Adam@anope.org>2011-11-17 12:46:18 -0500
committerAdam <Adam@anope.org>2011-11-17 12:46:18 -0500
commit69dfc729e99f45f16cab37f81b9f09a659d99a24 (patch)
tree063d1bba66dcfaece259a91e370919fc1ae77d5c /modules/commands/os_session.h
parent5281282a61601e9a6b77d129ed97e0509a0474cb (diff)
Fixed storing mode locks
Diffstat (limited to 'modules/commands/os_session.h')
-rw-r--r--modules/commands/os_session.h5
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);
};