rb_helper *authd_helper = NULL;
authd_cmd_handler authd_cmd_handlers[256] = {
+<<<<<<< HEAD
['C'] = handle_new_connection,
['D'] = resolve_dns,
- ['H'] = handle_reload,
+ ['R'] = handle_reload,
['S'] = handle_stat,
};
if(parc < 2)
{
- warn_opers(L_CRIT, "BUG: handle_reload received too few parameters (at least 2 expected, got %d)", parc);
+ /* Reload all handlers */
+ for(size_t i = 0; i < sizeof(authd_reload_handlers); handler = authd_reload_handlers[i++])
+ handler(parv[1][0]);
+
return;
}