ViewVC Help
View File | Revision Log | Show Annotations | View Changeset | Root Listing
root/svn/ircd-hybrid/branches/8.2.x/src/conf_parser.y
(Generate patch)

Comparing ircd-hybrid/trunk/src/conf_parser.y (file contents):
Revision 1851 by michael, Wed Apr 24 18:31:06 2013 UTC vs.
Revision 1855 by michael, Wed Apr 24 19:26:23 2013 UTC

# Line 319 | Line 319 | reset_block_state(void)
319   %token  T_LOCOPS
320   %token  T_MAX_CLIENTS
321   %token  T_NCHANGE
322 + %token  T_NONONREG
323   %token  T_OPERWALL
324   %token  T_RECVQ
325   %token  T_REJ
# Line 1173 | Line 1174 | oper_umodes_item:  T_BOTS
1174   {
1175    if (conf_parser_ctx.pass == 2)
1176      block_state.modes.value |= UMODE_LOCOPS;
1177 + } | T_NONONREG
1178 + {
1179 +  if (conf_parser_ctx.pass == 2)
1180 +    block_state.modes.value |= UMODE_REGONLY;
1181   };
1182  
1183   oper_flags: IRCD_FLAGS
# Line 2803 | Line 2808 | umode_item:    T_BOTS
2808   } | T_LOCOPS
2809   {
2810    ConfigFileEntry.oper_only_umodes |= UMODE_LOCOPS;
2811 + } | T_NONONREG
2812 + {
2813 +  ConfigFileEntry.oper_only_umodes |= UMODE_REGONLY;
2814   };
2815  
2816   general_min_nonwildcard: MIN_NONWILDCARD '=' NUMBER ';'

Diff Legend

Removed lines
+ Added lines
< Changed lines (old)
> Changed lines (new)