diff options
author | michael <michael@82007160-df01-0410-b94d-b575c5fd34c7> | 2014-05-01 13:55:13 +0000 |
---|---|---|
committer | michael <michael@82007160-df01-0410-b94d-b575c5fd34c7> | 2014-05-01 13:55:13 +0000 |
commit | bdc2afc6f2c96eb0eb7975e29297a515c0ac144e (patch) | |
tree | 71448d8a7823107139654c68a547f22bbb0c7e61 /src/conf_parser.c | |
parent | b3c49556ab0b28c1bcadb031c398a9c160720f07 (diff) |
- conf_parser.y: fixed bug where the parser wouldn't take time units
into consideration for the join_flood_time and throttle_time config
options.
git-svn-id: svn://svn.ircd-hybrid.org/svnroot/ircd-hybrid/branches/8.1.x@3433 82007160-df01-0410-b94d-b575c5fd34c7
Diffstat (limited to 'src/conf_parser.c')
-rw-r--r-- | src/conf_parser.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/conf_parser.c b/src/conf_parser.c index c1ccf9c..530e6c3 100644 --- a/src/conf_parser.c +++ b/src/conf_parser.c @@ -5948,7 +5948,7 @@ yyreduce: case 556: #line 2704 "conf_parser.y" /* yacc.c:1646 */ { - ConfigFileEntry.throttle_time = yylval.number; + ConfigFileEntry.throttle_time = (yyvsp[-1].number); } #line 5954 "conf_parser.c" /* yacc.c:1646 */ break; @@ -6420,7 +6420,7 @@ yyreduce: case 637: #line 2939 "conf_parser.y" /* yacc.c:1646 */ { - GlobalSetOptions.joinfloodtime = yylval.number; + GlobalSetOptions.joinfloodtime = (yyvsp[-1].number); } #line 6426 "conf_parser.c" /* yacc.c:1646 */ break; |