diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/modules.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/modules.h b/include/modules.h index 600d51a4c..07da2989f 100644 --- a/include/modules.h +++ b/include/modules.h @@ -97,7 +97,7 @@ typedef std::deque<userrec*> chanuserlist; { \ modules[_i]->x ; \ } \ - catch (ModuleException modexcept) \ + catch (ModuleException& modexcept) \ { \ log(DEBUG,"Module exception cought: %s",modexcept.GetReason()); \ } \ @@ -122,7 +122,7 @@ typedef std::deque<userrec*> chanuserlist; break; \ } \ } \ - catch (ModuleException modexcept) \ + catch (ModuleException& modexcept) \ { \ log(DEBUG,"Module exception cought: %s",modexcept.GetReason()); \ } \ |