diff options
Diffstat (limited to 'src/users.cpp')
-rw-r--r-- | src/users.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/users.cpp b/src/users.cpp index f2aa4950f..c89286273 100644 --- a/src/users.cpp +++ b/src/users.cpp @@ -413,7 +413,7 @@ void kill_link(userrec *user,const char* r) { Config->GetIOHook(user->port)->OnRawSocketClose(user->fd); } - catch (ModuleException modexcept) + catch (ModuleException& modexcept) { log(DEBUG,"Module exception cought: %s",modexcept.GetReason()); \ } @@ -483,7 +483,7 @@ void kill_link_silent(userrec *user,const char* r) { Config->GetIOHook(user->port)->OnRawSocketClose(user->fd); } - catch (ModuleException modexcept) + catch (ModuleException& modexcept) { log(DEBUG,"Module exception cought: %s",modexcept.GetReason()); \ } |