X-Git-Url: http://git.silcnet.org/gitweb/?a=blobdiff_plain;f=apps%2Fsilcd%2Fcommand_reply.c;h=506c7f1e79b7094791a0a9e17c834b2bdecf159e;hb=d1e71f42379e8b5cd0748a7aeae8561b02cfe53d;hp=b4862c61221ed3d38de4bd46891c810400405ceb;hpb=c257b555225193e54d85daf541d29578b3c93882;p=silc.git diff --git a/apps/silcd/command_reply.c b/apps/silcd/command_reply.c index b4862c61..506c7f1e 100644 --- a/apps/silcd/command_reply.c +++ b/apps/silcd/command_reply.c @@ -962,6 +962,9 @@ SILC_SERVER_CMD_REPLY_FUNC(motd) if (server->server_type != SILC_SERVER) goto out; + /* Statistics */ + cmd->server->stat.commands_sent++; + /* entry isn't known so we IDENTIFY it. otherwise the silc_server_command_motd won't know about it and tell the client that there is no such server */ @@ -1216,7 +1219,7 @@ SILC_SERVER_CMD_REPLY_FUNC(join) /* Get channel public key list */ tmp = silc_argument_get_arg_type(cmd->args, 16, &len); - if (tmp && server->server_type == SILC_SERVER) + if (tmp && server->server_type != SILC_ROUTER) silc_server_set_channel_pk_list(server, NULL, entry, tmp, len); /* The the user limit */