From 54e89b822e36b36eb9b080bbb4befe097471cec2 Mon Sep 17 00:00:00 2001 From: danieldg Date: Wed, 2 Sep 2009 00:51:33 +0000 Subject: 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 --- include/modules.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'include') 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 -- cgit v1.2.3