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

Comparing ircd-hybrid-7.2/src/ircd_parser.y (file contents):
Revision 55 by adx, Sun Oct 2 22:27:12 2005 UTC vs.
Revision 56 by michael, Mon Oct 3 11:33:30 2005 UTC

# Line 357 | Line 357 | unhook_hub_leaf_confs(void)
357   %token  T_SKILL
358   %token  T_SPY
359   %token  T_SSL
360 + %token  T_UMODES
361   %token  T_UNAUTH
362   %token  T_UNRESV
363   %token  T_UNXLINE
# Line 1043 | Line 1044 | oper_entry: OPERATOR
1044   oper_name_b: | oper_name_t;
1045   oper_items:     oper_items oper_item | oper_item;
1046   oper_item:      oper_name | oper_user | oper_password | oper_hidden_admin |
1047 <                oper_hidden_oper |
1047 >                oper_hidden_oper | oper_umodes |
1048                  oper_class | oper_global_kill | oper_remote |
1049                  oper_kline | oper_xline | oper_unkline |
1050                  oper_gline | oper_nick_changes | oper_remoteban |
# Line 1168 | Line 1169 | oper_class: CLASS '=' QSTRING ';'
1169    }
1170   };
1171  
1172 + oper_umodes: T_UMODES
1173 + {
1174 +  yy_aconf->modes = 0;
1175 + } '='  oper_umodes_items ';' ;
1176 +
1177 + oper_umodes_items: oper_umodes_items ',' oper_umodes_item | oper_umodes_item;
1178 + oper_umodes_item:  T_BOTS
1179 + {
1180 +  yy_aconf->modes |= UMODE_BOTS;
1181 + } | T_CCONN
1182 + {
1183 +  yy_aconf->modes |= UMODE_CCONN;
1184 + } | T_DEAF
1185 + {
1186 +  yy_aconf->modes |= UMODE_DEAF;
1187 + } | T_DEBUG
1188 + {
1189 +  yy_aconf->modes |= UMODE_DEBUG;
1190 + } | T_FULL
1191 + {
1192 +  yy_aconf->modes |= UMODE_FULL;
1193 + } | T_SKILL
1194 + {
1195 +  yy_aconf->modes |= UMODE_SKILL;
1196 + } | T_NCHANGE
1197 + {
1198 +  yy_aconf->modes |= UMODE_NCHANGE;
1199 + } | T_REJ
1200 + {
1201 +  yy_aconf->modes |= UMODE_REJ;
1202 + } | T_UNAUTH
1203 + {
1204 +  yy_aconf->modes |= UMODE_UNAUTH;
1205 + } | T_SPY
1206 + {
1207 +  yy_aconf->modes |= UMODE_SPY;
1208 + } | T_EXTERNAL
1209 + {
1210 +  yy_aconf->modes |= UMODE_EXTERNAL;
1211 + } | T_OPERWALL
1212 + {
1213 +  yy_aconf->modes |= UMODE_OPERWALL;
1214 + } | T_SERVNOTICE
1215 + {
1216 +  yy_aconf->modes |= UMODE_SERVNOTICE;
1217 + } | T_INVISIBLE
1218 + {
1219 +  yy_aconf->modes |= UMODE_INVISIBLE;
1220 + } | T_WALLOP
1221 + {
1222 +  yy_aconf->modes |= UMODE_WALLOP;
1223 + } | T_SOFTCALLERID
1224 + {
1225 +  yy_aconf->modes |= UMODE_SOFTCALLERID;
1226 + } | T_CALLERID
1227 + {
1228 +  yy_aconf->modes |= UMODE_CALLERID;
1229 + } | T_LOCOPS
1230 + {
1231 +  yy_aconf->modes |= UMODE_LOCOPS;
1232 + };
1233 +
1234   oper_global_kill: GLOBAL_KILL '=' TBOOL ';'
1235   {
1236    if (ypass == 2)

Diff Legend

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