diff options
| author | 2022-10-12 10:58:40 +0100 | |
|---|---|---|
| committer | 2022-10-12 10:58:40 +0100 | |
| commit | c747d89f0e1578f63b98186ebce28b3f60454cc1 (patch) | |
| tree | 2af3cfd2ff35eef75dc6c39e7a5a50efdccf8c2c /src/modules | |
| parent | Switch the ssl_mbedtls module to use ifstream instead of FileReader. (diff) | |
Avoid file_cache in opermotd and showfile.
Diffstat (limited to 'src/modules')
| -rw-r--r-- | src/modules/m_opermotd.cpp | 2 | ||||
| -rw-r--r-- | src/modules/m_showfile.cpp | 2 |
2 files changed, 2 insertions, 2 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) { diff --git a/src/modules/m_showfile.cpp b/src/modules/m_showfile.cpp index 821c7eb5e..456dfe50c 100644 --- a/src/modules/m_showfile.cpp +++ b/src/modules/m_showfile.cpp @@ -45,7 +45,7 @@ class CommandShowFile final unsigned int intronumeric; unsigned int textnumeric; unsigned int endnumeric; - file_cache contents; + std::vector<std::string> contents; Method method; public: |
