diff options
Diffstat (limited to 'src/modules/m_services.cpp')
-rw-r--r-- | src/modules/m_services.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/modules/m_services.cpp b/src/modules/m_services.cpp index 74c2bf2dc..95d0436e1 100644 --- a/src/modules/m_services.cpp +++ b/src/modules/m_services.cpp @@ -85,7 +85,7 @@ class ModuleServices : public Module return 0; } - virtual int OnUserPreMessage(userrec* user,void* dest,int target_type, std::string text) + virtual int OnUserPreMessage(userrec* user,void* dest,int target_type, std::string &text) { if (target_type == TYPE_CHANNEL) { @@ -120,7 +120,7 @@ class ModuleServices : public Module return 0; } - virtual int OnUserPreNotice(userrec* user,void* dest,int target_type, std::string text) + virtual int OnUserPreNotice(userrec* user,void* dest,int target_type, std::string &text) { if (target_type == TYPE_CHANNEL) { |