diff options
Diffstat (limited to 'include/modules/cs_entrymsg.h')
-rw-r--r-- | include/modules/cs_entrymsg.h | 34 |
1 files changed, 0 insertions, 34 deletions
diff --git a/include/modules/cs_entrymsg.h b/include/modules/cs_entrymsg.h deleted file mode 100644 index cf5f333ff..000000000 --- a/include/modules/cs_entrymsg.h +++ /dev/null @@ -1,34 +0,0 @@ -/* - * - * (C) 2003-2017 Anope Team - * Contact us at team@anope.org - * - * Please read COPYING and README for further details. - */ - -struct EntryMsg -{ - Anope::string chan; - Anope::string creator; - Anope::string message; - time_t when; - - virtual ~EntryMsg() { } - protected: - EntryMsg() { } -}; - -struct EntryMessageList : Serialize::Checker<std::vector<EntryMsg *> > -{ - protected: - EntryMessageList() : Serialize::Checker<std::vector<EntryMsg *> >("EntryMsg") { } - - public: - virtual ~EntryMessageList() - { - for (unsigned i = (*this)->size(); i > 0; --i) - delete (*this)->at(i - 1); - } - - virtual EntryMsg* Create() = 0; -}; |