if (chl2) {
chl2->mode = mode;
silc_free(channel_id);
+ silc_hash_table_list_reset(&htl);
goto out;
}
}
chl2 = chl;
}
}
+ silc_hash_table_list_reset(&htl);
/* Send the same notify to the channel */
if (!notify_sent)
SilcSocketConnection sock,
SilcPacketContext *packet)
{
- SilcServerConfigSectionClientConnection *client = NULL;
+ SilcServerConfigSectionClient *client = NULL;
uint16 conn_type;
int ret, port;
SilcAuthMethod auth_meth;
/* Get the authentication method for the client */
auth_meth = SILC_AUTH_NONE;
port = server->sockets[server->sock]->port; /* Listenning port */
- client = silc_server_config_find_client_conn(server->config,
+ client = silc_server_config_find_client(server->config,
sock->ip,
port);
if (!client)
- client = silc_server_config_find_client_conn(server->config,
+ client = silc_server_config_find_client(server->config,
sock->hostname,
port);
if (client)