diff options
Diffstat (limited to 'src/modules/m_noctcp.cpp')
-rw-r--r-- | src/modules/m_noctcp.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/modules/m_noctcp.cpp b/src/modules/m_noctcp.cpp index 8d597d1b8..4d58151f0 100644 --- a/src/modules/m_noctcp.cpp +++ b/src/modules/m_noctcp.cpp @@ -33,7 +33,7 @@ class ModuleNoCTCP : public Module Srv->AddExtendedMode('C',MT_CHANNEL,false,0,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) { @@ -53,7 +53,7 @@ class ModuleNoCTCP : 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) { |