diff options
author | Adam <Adam@anope.org> | 2011-11-17 12:46:18 -0500 |
---|---|---|
committer | Adam <Adam@anope.org> | 2011-11-17 12:46:18 -0500 |
commit | 69dfc729e99f45f16cab37f81b9f09a659d99a24 (patch) | |
tree | 063d1bba66dcfaece259a91e370919fc1ae77d5c /modules/commands/cs_entrymsg.cpp | |
parent | 5281282a61601e9a6b77d129ed97e0509a0474cb (diff) |
Fixed storing mode locks
Diffstat (limited to 'modules/commands/cs_entrymsg.cpp')
-rw-r--r-- | modules/commands/cs_entrymsg.cpp | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/modules/commands/cs_entrymsg.cpp b/modules/commands/cs_entrymsg.cpp index d3fd7270c..b4aaf805a 100644 --- a/modules/commands/cs_entrymsg.cpp +++ b/modules/commands/cs_entrymsg.cpp @@ -20,7 +20,7 @@ struct EntryMsg : Serializable Anope::string message; time_t when; - EntryMsg(ChannelInfo *c, const Anope::string &cname, const Anope::string &cmessage, time_t ct = Anope::CurTime) : Serializable("EntryMsg") + EntryMsg(ChannelInfo *c, const Anope::string &cname, const Anope::string &cmessage, time_t ct = Anope::CurTime) { this->ci = c; @@ -29,6 +29,11 @@ struct EntryMsg : Serializable this->when = ct; } + Anope::string serialize_name() const + { + return "EntryMsg"; + } + serialized_data serialize() { serialized_data data; |