diff options
| author | 2022-10-22 20:45:22 +0100 | |
|---|---|---|
| committer | 2022-10-23 14:51:33 +0100 | |
| commit | 859088dac5b937208c7aff7fd3976bbc63329281 (patch) | |
| tree | 79b297813d7f2cb13e6967486340912ad72d0477 /src/modules/m_cloaking.cpp | |
| parent | Avoid spamming opers with notices when a SQL log provider is down. (diff) | |
More const correctness.
Diffstat (limited to 'src/modules/m_cloaking.cpp')
| -rw-r--r-- | src/modules/m_cloaking.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/m_cloaking.cpp b/src/modules/m_cloaking.cpp index c8766478f..5d35173d1 100644 --- a/src/modules/m_cloaking.cpp +++ b/src/modules/m_cloaking.cpp @@ -165,7 +165,7 @@ public: creator->OnUserConnect(user); cloaks = ext.Get(user); } - catch (CoreException& modexcept) + catch (const CoreException& modexcept) { ServerInstance->Logs.Normal(MODNAME, "Exception caught when generating cloak: " + modexcept.GetReason()); return MODEACTION_DENY; |
