mirror of
https://github.com/anope/anope.git
synced 2026-06-26 17:16:39 +02:00
Allow modules to store data in their own databases.
This commit is contained in:
@@ -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)
|
||||
EntryMsg(ChannelInfo *c, const Anope::string &cname, const Anope::string &cmessage, time_t ct = Anope::CurTime) : Serializable("EntryMsg")
|
||||
{
|
||||
this->ci = c;
|
||||
this->creator = cname;
|
||||
@@ -28,11 +28,6 @@ struct EntryMsg : Serializable
|
||||
this->when = ct;
|
||||
}
|
||||
|
||||
const Anope::string serialize_name() const anope_override
|
||||
{
|
||||
return "EntryMsg";
|
||||
}
|
||||
|
||||
Serialize::Data serialize() const anope_override
|
||||
{
|
||||
Serialize::Data data;
|
||||
|
||||
Reference in New Issue
Block a user