aboutsummaryrefslogtreecommitdiff
path: root/src/inspsocket.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/inspsocket.cpp')
-rw-r--r--src/inspsocket.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/inspsocket.cpp b/src/inspsocket.cpp
index b3b3bffdf..abbdbebb3 100644
--- a/src/inspsocket.cpp
+++ b/src/inspsocket.cpp
@@ -464,7 +464,7 @@ void StreamSocket::OnEventHandlerRead()
{
DoRead();
}
- catch (CoreException& ex)
+ catch (const CoreException& ex)
{
ServerInstance->Logs.Normal("SOCKET", "Caught exception in socket processing on FD %d - '%s'",
GetFd(), ex.GetReason().c_str());