summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/cmd_notice.cpp4
-rw-r--r--src/cmd_privmsg.cpp4
2 files changed, 4 insertions, 4 deletions
diff --git a/src/cmd_notice.cpp b/src/cmd_notice.cpp
index 264fb5a08..cc23a19e1 100644
--- a/src/cmd_notice.cpp
+++ b/src/cmd_notice.cpp
@@ -124,7 +124,7 @@ void cmd_notice::Handle (char **parameters, int pcnt, userrec *user)
ChanExceptSender(chan, user, status, "NOTICE %s :%s", chan->name, parameters[1]);
- FOREACH_MOD(I_OnUserNotice,OnUserNotice(user,chan,TYPE_CHANNEL,parameters[1]));
+ FOREACH_MOD(I_OnUserNotice,OnUserNotice(user,chan,TYPE_CHANNEL,parameters[1],status));
}
else
{
@@ -152,7 +152,7 @@ void cmd_notice::Handle (char **parameters, int pcnt, userrec *user)
WriteTo(user, dest, "NOTICE %s :%s", dest->nick, parameters[1]);
}
- FOREACH_MOD(I_OnUserNotice,OnUserNotice(user,dest,TYPE_USER,parameters[1]));
+ FOREACH_MOD(I_OnUserNotice,OnUserNotice(user,dest,TYPE_USER,parameters[1],0));
}
else
{
diff --git a/src/cmd_privmsg.cpp b/src/cmd_privmsg.cpp
index f734ed588..2d14ddf89 100644
--- a/src/cmd_privmsg.cpp
+++ b/src/cmd_privmsg.cpp
@@ -122,7 +122,7 @@ void cmd_privmsg::Handle (char **parameters, int pcnt, userrec *user)
}
ChanExceptSender(chan, user, status, "PRIVMSG %s :%s", chan->name, parameters[1]);
- FOREACH_MOD(I_OnUserMessage,OnUserMessage(user,chan,TYPE_CHANNEL,parameters[1]));
+ FOREACH_MOD(I_OnUserMessage,OnUserMessage(user,chan,TYPE_CHANNEL,parameters[1],status));
}
else
{
@@ -156,7 +156,7 @@ void cmd_privmsg::Handle (char **parameters, int pcnt, userrec *user)
WriteTo(user, dest, "PRIVMSG %s :%s", dest->nick, parameters[1]);
}
- FOREACH_MOD(I_OnUserMessage,OnUserMessage(user,dest,TYPE_USER,parameters[1]));
+ FOREACH_MOD(I_OnUserMessage,OnUserMessage(user,dest,TYPE_USER,parameters[1],0));
}
else
{