diff options
Diffstat (limited to 'include/modules/cs_entrymsg.h')
-rw-r--r-- | include/modules/cs_entrymsg.h | 37 |
1 files changed, 0 insertions, 37 deletions
diff --git a/include/modules/cs_entrymsg.h b/include/modules/cs_entrymsg.h deleted file mode 100644 index 2672f8ac0..000000000 --- a/include/modules/cs_entrymsg.h +++ /dev/null @@ -1,37 +0,0 @@ -/* - * - * (C) 2003-2025 Anope Team - * Contact us at team@anope.org - * - * Please read COPYING and README for further details. - */ - -#pragma once - -struct EntryMsg -{ - Anope::string chan; - Anope::string creator; - Anope::string message; - time_t when; - - virtual ~EntryMsg() = default; -protected: - EntryMsg() = default; -}; - -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; -}; |