diff options
| author | 2022-01-09 14:38:01 +0000 | |
|---|---|---|
| committer | 2022-01-09 14:38:01 +0000 | |
| commit | dbfcc74e23067a1cc2ceb3bccfff9e8868947419 (patch) | |
| tree | c32f081119846966face3d36f6bb1af8ce4a2b9b /src/modules/m_clearchan.cpp | |
| parent | Replace some references to "SSL" that snuck in during the merge. (diff) | |
Always catch exceptions as a constant reference.
Diffstat (limited to 'src/modules/m_clearchan.cpp')
| -rw-r--r-- | src/modules/m_clearchan.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/m_clearchan.cpp b/src/modules/m_clearchan.cpp index 6a48bbdab..a840037fd 100644 --- a/src/modules/m_clearchan.cpp +++ b/src/modules/m_clearchan.cpp @@ -122,7 +122,7 @@ class CommandClearChan final mask = (method[0] == 'Z') ? curr->GetIPString() : (curr->GetBanIdent() + "@" + curr->GetRealHost()); xline = xlf->Generate(ServerInstance->Time(), 60*60, user->nick, reason, mask); } - catch (ModuleException&) + catch (const ModuleException&) { // Nothing, move on to the next user continue; |
