summaryrefslogtreecommitdiff
path: root/include/users.h
diff options
context:
space:
mode:
authorw00t <w00t@e03df62e-2008-0410-955e-edbf42e46eb7>2008-07-29 16:28:37 +0000
committerw00t <w00t@e03df62e-2008-0410-955e-edbf42e46eb7>2008-07-29 16:28:37 +0000
commit5db3290d939509015167b7fdfba5073285051560 (patch)
tree5a3afea4313d9549a26f32b5fe7980dc2e973831 /include/users.h
parent16f8c2df7e9f1e35466d8102a05893fb41f2f404 (diff)
After discussions and thought, move umode +n to +s. This increases cross-ircd compat (both charybdis and unreal use +s for snomasks, others might in the future). This also decreases complexity for new users, and removes the redundancy. This means that just +s +cC for example will be required to view connects. (files to be renamed in next commit to not confuse svn).
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10074 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'include/users.h')
-rw-r--r--include/users.h8
1 files changed, 3 insertions, 5 deletions
diff --git a/include/users.h b/include/users.h
index b3de65941..ac06f75f5 100644
--- a/include/users.h
+++ b/include/users.h
@@ -44,16 +44,14 @@ enum ClassTypes {
/** RFC1459 channel modes
*/
enum UserModes {
- /** +s: Server notices */
- UM_SERVERNOTICE = 's' - 65,
+ /** +s: Server notice mask */
+ UM_SNOMASK = 's' - 65,
/** +w: WALLOPS */
UM_WALLOPS = 'w' - 65,
/** +i: Invisible */
UM_INVISIBLE = 'i' - 65,
/** +o: Operator */
- UM_OPERATOR = 'o' - 65,
- /** +n: Server notice mask */
- UM_SNOMASK = 'n' - 65
+ UM_OPERATOR = 'o' - 65
};
/** Registration state of a user, e.g.