summaryrefslogtreecommitdiff
path: root/src/conf_parser.y
diff options
context:
space:
mode:
Diffstat (limited to 'src/conf_parser.y')
-rw-r--r--src/conf_parser.y9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/conf_parser.y b/src/conf_parser.y
index 502f642..1b494b3 100644
--- a/src/conf_parser.y
+++ b/src/conf_parser.y
@@ -335,6 +335,7 @@ reset_block_state(void)
%token T_UNXLINE
%token T_GLOBOPS
%token T_WALLOP
+%token T_WALLOPS
%token T_WEBIRC
%token T_RESTART
%token T_SERVICE
@@ -1261,6 +1262,14 @@ oper_flags_item: KILL ':' REMOTE
{
if (conf_parser_ctx.pass == 2)
block_state.port.value |= OPER_FLAG_GLOBOPS;
+} | T_WALLOPS
+{
+ if (conf_parser_ctx.pass == 2)
+ block_state.port.value |= OPER_FLAG_WALLOPS;
+} | T_LOCOPS
+{
+ if (conf_parser_ctx.pass == 2)
+ block_state.port.value |= OPER_FLAG_LOCOPS;
} | REMOTEBAN
{
if (conf_parser_ctx.pass == 2)