summaryrefslogtreecommitdiff
path: root/include/modules/cs_entrymsg.h
diff options
context:
space:
mode:
authorSadie Powell <sadie@witchery.services>2025-03-08 12:22:07 +0000
committerSadie Powell <sadie@witchery.services>2025-03-08 12:22:07 +0000
commitdf0cd3ef3e9a5cd1230aebdb45569f54512373ad (patch)
tree3abf54908e7aac069da940f1d6db85829a46b302 /include/modules/cs_entrymsg.h
parent9e37a643f13a8e6b5b8468f245f21fd23238f058 (diff)
Move some headers around.
Diffstat (limited to 'include/modules/cs_entrymsg.h')
-rw-r--r--include/modules/cs_entrymsg.h37
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;
-};