aboutsummaryrefslogtreecommitdiff
path: root/src/modules/m_opermotd.cpp
diff options
context:
space:
mode:
authorGravatar Sadie Powell2022-10-12 10:58:40 +0100
committerGravatar Sadie Powell2022-10-12 10:58:40 +0100
commitc747d89f0e1578f63b98186ebce28b3f60454cc1 (patch)
tree2af3cfd2ff35eef75dc6c39e7a5a50efdccf8c2c /src/modules/m_opermotd.cpp
parentSwitch the ssl_mbedtls module to use ifstream instead of FileReader. (diff)
Avoid file_cache in opermotd and showfile.
Diffstat (limited to 'src/modules/m_opermotd.cpp')
-rw-r--r--src/modules/m_opermotd.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/m_opermotd.cpp b/src/modules/m_opermotd.cpp
index 1c19066f1..b50b94b45 100644
--- a/src/modules/m_opermotd.cpp
+++ b/src/modules/m_opermotd.cpp
@@ -41,7 +41,7 @@ class CommandOpermotd final
: public Command
{
public:
- file_cache opermotd;
+ std::vector<std::string> opermotd;
CommandOpermotd(Module* Creator) : Command(Creator,"OPERMOTD", 0, 1)
{