diff options
author | danieldg <danieldg@e03df62e-2008-0410-955e-edbf42e46eb7> | 2009-09-02 00:51:33 +0000 |
---|---|---|
committer | danieldg <danieldg@e03df62e-2008-0410-955e-edbf42e46eb7> | 2009-09-02 00:51:33 +0000 |
commit | 54e89b822e36b36eb9b080bbb4befe097471cec2 (patch) | |
tree | 8150e55f05808b4fc1b6eb77caf8b11f9786f491 /include/modules.h | |
parent | 0145d909d207e0117c0d10ee2195b53b4b823fb4 (diff) |
Change SAMODE to source from the acting user, not the server
This is a merge of the OOMODE command into SAMODE.
This fixes SAMODE not working because of mode merging.
An additional access check for umode changes is added for this command.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11647 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'include/modules.h')
-rw-r--r-- | include/modules.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/include/modules.h b/include/modules.h index 51cc37f3f..cb8ffdada 100644 --- a/include/modules.h +++ b/include/modules.h @@ -41,7 +41,8 @@ enum AccessControlType { AC_HALFOP, // a user is being halfopped AC_DEHALFOP, // a user is being dehalfopped AC_INVITE, // a user is being invited - AC_GENERAL_MODE // a channel mode is being changed + AC_GENERAL_MODE, // a channel mode is being changed + AC_GENERAL_UMODE // a user mode is being changed }; /** Used to define a set of behavior bits for a module |