summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/modules/m_restrictmsg.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/m_restrictmsg.cpp b/src/modules/m_restrictmsg.cpp
index 0bc03fab1..f960c65c8 100644
--- a/src/modules/m_restrictmsg.cpp
+++ b/src/modules/m_restrictmsg.cpp
@@ -66,7 +66,7 @@ class ModuleRestrictMsg : public Module
virtual int OnUserPreNotice(userrec* user,void* dest,int target_type, std::string &text, char status)
{
- return this->OnUserPreMessage(user,dest,target_type,text);
+ return this->OnUserPreMessage(user,dest,target_type,text,status);
}
virtual ~ModuleRestrictMsg()