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-8/src/conf_parser.y (file contents):
Revision 1366 by michael, Tue Apr 24 18:35:34 2012 UTC vs.
Revision 1369 by michael, Wed Apr 25 19:04:19 2012 UTC

# Line 2418 | Line 2418 | kill_entry: KILL
2418        }
2419        else
2420        {
2421 +        find_and_delete_temporary(userbuf, hostbuf, CONF_KLINE);
2422 +
2423          yy_aconf = map_to_conf(make_conf_item(KLINE_TYPE));
2424  
2425          DupString(yy_aconf->user, userbuf);
# Line 2427 | Line 2429 | kill_entry: KILL
2429            DupString(yy_aconf->reason, reasonbuf);
2430          else
2431            DupString(yy_aconf->reason, "No reason");
2432 <        add_conf_by_address(CONF_KILL, yy_aconf);
2432 >        add_conf_by_address(CONF_KLINE, yy_aconf);
2433        }
2434      }
2435  
# Line 2487 | Line 2489 | deny_entry: DENY
2489    {
2490      if (hostbuf[0] && parse_netmask(hostbuf, NULL, NULL) != HM_HOST)
2491      {
2492 +      find_and_delete_temporary(NULL, hostbuf, CONF_DLINE);
2493 +
2494        yy_aconf = map_to_conf(make_conf_item(DLINE_TYPE));
2495        DupString(yy_aconf->host, hostbuf);
2496  

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines