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

Comparing ircd-hybrid/trunk/src/conf_parser.y (file contents):
Revision 1836 by michael, Fri Apr 19 19:50:27 2013 UTC vs.
Revision 1837 by michael, Sun Apr 21 09:27:27 2013 UTC

# Line 221 | Line 221 | reset_block_state(void)
221   %token  MAX_TARGETS
222   %token  MAX_TOPIC_LENGTH
223   %token  MAX_WATCH
224 %token  MESSAGE_LOCALE
224   %token  MIN_NONWILDCARD
225   %token  MIN_NONWILDCARD_SIMPLE
226   %token  MIN_IDLE
# Line 2412 | Line 2411 | general_item:       general_hide_spoof_i
2411                      general_pace_wait_simple | general_stats_P_oper_only |
2412                      general_short_motd | general_no_oper_flood |
2413                      general_true_no_oper_flood | general_oper_pass_resv |
2415                    general_message_locale |
2414                      general_oper_only_umodes | general_max_targets |
2415                      general_use_egd | general_egdpool_path |
2416                      general_oper_umodes | general_caller_id_wait |
# Line 2622 | Line 2620 | general_oper_pass_resv: OPER_PASS_RESV '
2620    ConfigFileEntry.oper_pass_resv = yylval.number;
2621   };
2622  
2625 general_message_locale: MESSAGE_LOCALE '=' QSTRING ';'
2626 {
2627  if (conf_parser_ctx.pass == 2)
2628  {
2629    if (strlen(yylval.string) > LOCALE_LENGTH-2)
2630      yylval.string[LOCALE_LENGTH-1] = '\0';
2631
2632    set_locale(yylval.string);
2633  }
2634 };
2635
2623   general_dots_in_ident: DOTS_IN_IDENT '=' NUMBER ';'
2624   {
2625    ConfigFileEntry.dots_in_ident = $3;

Diff Legend

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