aboutsummaryrefslogtreecommitdiff
path: root/src/modules/m_opermotd.cpp
diff options
context:
space:
mode:
authorGravatar Sadie Powell2023-01-11 00:45:36 +0000
committerGravatar Sadie Powell2023-01-11 00:56:15 +0000
commitabc5d52f1369dd9cb9aeb12d04a233f427c37186 (patch)
treeb238133e06bac79c1b9ed66964bcd67f7ee1e725 /src/modules/m_opermotd.cpp
parentMake some functions that don't use `this` static. (diff)
Const correct various functions.
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 cdc9e3ec4..354e29099 100644
--- a/src/modules/m_opermotd.cpp
+++ b/src/modules/m_opermotd.cpp
@@ -96,7 +96,7 @@ private:
CommandOperMOTD cmd;
bool onoper;
- void ProcessMOTD(MOTDCache& newmotds, const std::shared_ptr<OperType>& oper, const char* type)
+ void ProcessMOTD(MOTDCache& newmotds, const std::shared_ptr<OperType>& oper, const char* type) const
{
// Don't process the file if it has already been processed.
const std::string motd = oper->GetConfig()->getString("motd", cmd.file);