From 38cc4dda4df259bac5a3602be6861cf22e4171e9 Mon Sep 17 00:00:00 2001 From: w00t Date: Sun, 6 Jan 2008 21:25:38 +0000 Subject: Hopefully correct implementation of OnRawMode.. can someone pls check this for me tomorrow. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8654 e03df62e-2008-0410-955e-edbf42e46eb7 --- include/modules.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'include') diff --git a/include/modules.h b/include/modules.h index eab968e7a..fb291e17a 100644 --- a/include/modules.h +++ b/include/modules.h @@ -1095,7 +1095,7 @@ class CoreExport Module : public Extensible * @param pcnt The parameter count for the mode (0 or 1) * @return 1 to deny the mode, 0 to allow */ - virtual int OnRawMode(User* user, Channel* chan, char mode, const std::string ¶m, bool adding, int pcnt); + virtual int OnRawMode(User* user, Channel* chan, const char mode, const std::string ¶m, bool adding, int pcnt); /** Called whenever a user joins a channel, to determine if key checks should go ahead or not. * This method will always be called for each join, wether or not the channel is actually +k, and -- cgit v1.2.3