From 69dfc729e99f45f16cab37f81b9f09a659d99a24 Mon Sep 17 00:00:00 2001 From: Adam Date: Thu, 17 Nov 2011 12:46:18 -0500 Subject: Fixed storing mode locks --- modules/commands/cs_entrymsg.cpp | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'modules/commands/cs_entrymsg.cpp') 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; -- cgit