aboutsummaryrefslogtreecommitdiff
path: root/src/modules/m_opermotd.cpp
diff options
context:
space:
mode:
authorGravatar Sadie Powell2022-10-22 20:45:22 +0100
committerGravatar Sadie Powell2022-10-23 14:51:33 +0100
commit859088dac5b937208c7aff7fd3976bbc63329281 (patch)
tree79b297813d7f2cb13e6967486340912ad72d0477 /src/modules/m_opermotd.cpp
parentAvoid spamming opers with notices when a SQL log provider is down. (diff)
More const correctness.
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 b50b94b45..208496eae 100644
--- a/src/modules/m_opermotd.cpp
+++ b/src/modules/m_opermotd.cpp
@@ -111,7 +111,7 @@ public:
cmd.opermotd = reader.GetVector();
InspIRCd::ProcessColors(cmd.opermotd);
}
- catch (CoreException&)
+ catch (const CoreException&)
{
// Nothing happens here as we do the error handling in ShowOperMOTD.
}