X-Git-Url: https://git.netwichtig.de/gitweb/?a=blobdiff_plain;f=src%2Fcmd_notice.cpp;h=fe7fea5ca07ac2f1dff2cc71b2441e121a7f8801;hb=59b1a8955142935b02af6446005ab47fc7c3fc8c;hp=cc23a19e173293ff78fdc302ef2883a7e4ff2f33;hpb=a3cb2921f50bcd8aba5d836d6b5bb0f7b9dd5568;p=user%2Fhenk%2Fcode%2Finspircd.git diff --git a/src/cmd_notice.cpp b/src/cmd_notice.cpp index cc23a19e1..fe7fea5ca 100644 --- a/src/cmd_notice.cpp +++ b/src/cmd_notice.cpp @@ -110,7 +110,7 @@ void cmd_notice::Handle (char **parameters, int pcnt, userrec *user) int MOD_RESULT = 0; std::string temp = parameters[1]; - FOREACH_RESULT(I_OnUserPreNotice,OnUserPreNotice(user,chan,TYPE_CHANNEL,temp)); + FOREACH_RESULT(I_OnUserPreNotice,OnUserPreNotice(user,chan,TYPE_CHANNEL,temp,status)); if (MOD_RESULT) { return; } @@ -140,7 +140,7 @@ void cmd_notice::Handle (char **parameters, int pcnt, userrec *user) int MOD_RESULT = 0; std::string temp = parameters[1]; - FOREACH_RESULT(I_OnUserPreNotice,OnUserPreNotice(user,dest,TYPE_USER,temp)); + FOREACH_RESULT(I_OnUserPreNotice,OnUserPreNotice(user,dest,TYPE_USER,temp,0)); if (MOD_RESULT) { return; }