diff options
Diffstat (limited to 'src/inspircd.cpp')
-rw-r--r-- | src/inspircd.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/inspircd.cpp b/src/inspircd.cpp index e3fe29ab4..3b481bb3e 100644 --- a/src/inspircd.cpp +++ b/src/inspircd.cpp @@ -3642,7 +3642,7 @@ void handle_privmsg(char **parameters, int pcnt, userrec *user) int MOD_RESULT = 0; - FOREACH_RESULT(OnUserPreMessage(user,chan,TYPE_USER,std::string(parameters[1])); + FOREACH_RESULT(OnUserPreMessage(user,chan,TYPE_USER,std::string(parameters[1]))); if (MOD_RESULT) { return; } @@ -3668,7 +3668,7 @@ void handle_privmsg(char **parameters, int pcnt, userrec *user) int MOD_RESULT = 0; - FOREACH_RESULT(OnUserPreMessage(user,dest,TYPE_USER,std::string(parameters[1])); + FOREACH_RESULT(OnUserPreMessage(user,dest,TYPE_USER,std::string(parameters[1]))); if (MOD_RESULT) { return; } @@ -3709,7 +3709,7 @@ void handle_notice(char **parameters, int pcnt, userrec *user) int MOD_RESULT = 0; - FOREACH_RESULT(OnUserPreNotice(user,chan,TYPE_CHANNEL,std::string(parameters[1])); + FOREACH_RESULT(OnUserPreNotice(user,chan,TYPE_CHANNEL,std::string(parameters[1]))); if (MOD_RESULT) { return; } @@ -3729,7 +3729,7 @@ void handle_notice(char **parameters, int pcnt, userrec *user) { int MOD_RESULT = 0; - FOREACH_RESULT(OnUserPreNotice(user,dest,TYPE_USER,std::string(parameters[1])); + FOREACH_RESULT(OnUserPreNotice(user,dest,TYPE_USER,std::string(parameters[1]))); if (MOD_RESULT) { return; } |