From 17f7b056e90cac05cfeb3f655ce815957483d5b7 Mon Sep 17 00:00:00 2001 From: brain Date: Wed, 7 Apr 2004 16:18:03 +0000 Subject: Stability fixes git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@415 e03df62e-2008-0410-955e-edbf42e46eb7 --- src/inspircd.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/inspircd.cpp') diff --git a/src/inspircd.cpp b/src/inspircd.cpp index 3b11f8d16..f0fda4d7c 100644 --- a/src/inspircd.cpp +++ b/src/inspircd.cpp @@ -3645,7 +3645,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_CHANNEL,std::string(parameters[1]))); if (MOD_RESULT) { return; } -- cgit v1.2.3