aboutsummaryrefslogtreecommitdiffstats
path: root/src/inspircd.cpp
diff options
context:
space:
mode:
authorGravatar brain2004-04-06 19:23:31 +0000
committerGravatar brain2004-04-06 19:23:31 +0000
commit8fbe9ba504a27923696f5fa51c5bc499fef4ca56 (patch)
treeb67c108b3d7dc5a4b980316cbe745ed5cac74c9c /src/inspircd.cpp
parentAdded OnUserPreMessage and OnUserPreNotice events (not tested yet) (diff)
downloadinspircd++-8fbe9ba504a27923696f5fa51c5bc499fef4ca56.tar.gz
inspircd++-8fbe9ba504a27923696f5fa51c5bc499fef4ca56.tar.bz2
inspircd++-8fbe9ba504a27923696f5fa51c5bc499fef4ca56.zip
Fixes to OnUserPreMessage and OnUserPreNotice
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@408 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src/inspircd.cpp')
-rw-r--r--src/inspircd.cpp8
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;
}