diff options
author | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2006-02-03 17:27:00 +0000 |
---|---|---|
committer | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2006-02-03 17:27:00 +0000 |
commit | a3cb2921f50bcd8aba5d836d6b5bb0f7b9dd5568 (patch) | |
tree | d87f0525f4ad411783306f4edaf6374953a18b55 /src/cmd_notice.cpp | |
parent | bb230ed4e334e9d0861db1bc787fa79e9740a843 (diff) |
Fix to event params
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3051 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src/cmd_notice.cpp')
-rw-r--r-- | src/cmd_notice.cpp | 4 |
1 files changed, 2 insertions, 2 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 { |