separately in the same function earlier. Affects file
silcd/packet_send.c and all channel packet sending functions.
+ * In USERS reply, res_argv[i] are not allocated, the table
+ is allocated. Thus changed that free the table, not its
+ internals.
+
+ * In server's whois_check and identify_check if the client is
+ locally connected do not send any WHOIS commands - they are not
+ needed.
+
Thu Feb 1 21:32:27 EET 2001 Pekka Riikonen <priikone@poseidon.pspt.fi>
* Fixed some minor bugs in client when sending WHOIS command. The
if (!entry->nickname || !entry->username || !entry->userinfo) {
SilcBuffer tmpbuf;
unsigned short old_ident;
+
+ if (!entry->router)
+ continue;
old_ident = silc_command_get_ident(cmd->payload);
silc_command_set_ident(cmd->payload, silc_rng_get_rn16(server->rng));
SilcBuffer tmpbuf;
unsigned short old_ident;
+ if (!entry->router)
+ continue;
+
old_ident = silc_command_get_ident(cmd->payload);
silc_command_set_ident(cmd->payload, silc_rng_get_rn16(server->rng));
silc_command_set_command(cmd->payload, SILC_COMMAND_WHOIS);
SilcPacketContext *p = silc_packet_context_dup(packet);
p->context = (void *)client;
p->sock = sock;
- silc_client_command_pending(conn,SILC_COMMAND_WHOIS, 0,
+ silc_client_command_pending(conn, SILC_COMMAND_WHOIS, 0,
silc_client_notify_by_server_pending, p);
goto out;
}