summaryrefslogtreecommitdiff
path: root/include/modules.h
diff options
context:
space:
mode:
authorbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2008-02-14 19:32:48 +0000
committerbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2008-02-14 19:32:48 +0000
commit60aefe2290a8fd48a3d03985b3ba456b83019734 (patch)
tree7bf5584d75c943c2806a6598c80422c69f231014 /include/modules.h
parente088bb55fcf00d4cead3f8f9c9ff15fa5cc846a0 (diff)
Make AC_OTHERMODE OnAccessCheck call work again.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8942 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'include/modules.h')
-rw-r--r--include/modules.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/include/modules.h b/include/modules.h
index 6a08aaec6..29e4313dc 100644
--- a/include/modules.h
+++ b/include/modules.h
@@ -1101,7 +1101,9 @@ class CoreExport Module : public Extensible
* @param param The parameter for the mode or an empty string
* @param adding true of the mode is being added, false if it is being removed
* @param pcnt The parameter count for the mode (0 or 1)
- * @return 1 to deny the mode, 0 to allow
+ * @return ACR_DENY to deny the mode, ACR_DEFAULT to do standard mode checking, and ACR_ALLOW
+ * to skip all permission checking. Please note that for remote mode changes, your return value
+ * will be ignored!
*/
virtual int OnRawMode(User* user, Channel* chan, const char mode, const std::string &param, bool adding, int pcnt);