From 859088dac5b937208c7aff7fd3976bbc63329281 Mon Sep 17 00:00:00 2001 From: Sadie Powell Date: Sat, 22 Oct 2022 20:45:22 +0100 Subject: More const correctness. --- src/modules/m_opermotd.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/modules/m_opermotd.cpp') 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. } -- cgit v1.3.1-10-gc9f91