unsigned int max_clients, invis_clients;
time_t max_clients_time;
struct userList curr_opers;
+unsigned int count_opers;
static void hash_cleanup(void *extra);
clients = dict_new();
servers = dict_new();
userList_init(&curr_opers);
+ count_opers = 0;
reg_exit_func(hash_cleanup, NULL);
}
&& !(channel->modes & MODE_REGISTERED)
&& !(channel->modes & MODE_APASS)) {
mNode->modes |= MODE_CHANOP;
- log_module(MAIN_LOG, LOG_DEBUG, "setting op");
}
if (IsLocal(user)) {
dict_delete(clients);
dict_delete(servers);
userList_clean(&curr_opers);
+ count_opers = 0;
free(slf_list);
free(slf_list_extra);