summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/conf_parser.y3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/conf_parser.y b/src/conf_parser.y
index 3ce2774..7b6f7e1 100644
--- a/src/conf_parser.y
+++ b/src/conf_parser.y
@@ -2655,6 +2655,9 @@ umode_oitem: T_BOTS
} | T_LOCOPS
{
ConfigFileEntry.oper_umodes |= UMODE_LOCOPS;
+} | T_NONONREG
+{
+ ConfigFileEntry.oper_umodes |= UMODE_REGONLY;
} | T_FARCONNECT
{
ConfigFileEntry.oper_umodes |= UMODE_FARCONNECT;