diff options
author | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2005-04-16 01:26:20 +0000 |
---|---|---|
committer | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2005-04-16 01:26:20 +0000 |
commit | d664aec8c1ac54f63c4a5c1d273db3dcbf3d3ffb (patch) | |
tree | 76de45649fa526aa802fbb4524c15e608f7208fc /include | |
parent | c4625b09b0c229124c031e84df06f9031118fb84 (diff) |
Added a chanrec to OnRawMode, om pointed out i hadnt given him it :D
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@1108 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'include')
-rw-r--r-- | include/modules.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/modules.h b/include/modules.h index c9248575f..68c74eacb 100644 --- a/include/modules.h +++ b/include/modules.h @@ -432,7 +432,7 @@ class Module : public classbase * so that you may perform your own code instead. Note that this method allows you to override * modes defined by other modes, but this is NOT RECOMMENDED! */ - virtual int OnRawMode(userrec* user, char mode, std::string param, bool adding, int pcnt); + virtual int OnRawMode(userrec* user, chanrec* chan, char mode, std::string param, bool adding, int pcnt); /** Called whenever a user joins a channel, to determine if invite checks should go ahead or not. * This method will always be called for each join, wether or not the channel is actually +i, and |