updates.
[silc.git] / apps / silcd / command.c
index 0d222bd360af1463a468fb2f1ef2cafe70341521..cedebbd4bf80cdd66012e7f2e4b3d299658dc1d8 100644 (file)
@@ -4902,6 +4902,8 @@ SILC_SERVER_CMD_FUNC(detach)
   /* Send the user mode notify to notify that client is detached */
   client->mode |= SILC_UMODE_DETACHED;
   client->data.status &= ~SILC_IDLIST_STATUS_RESUMED;
+  client->last_command = 0;
+  client->fast_command = 0;
   if (!server->standalone)
     silc_server_send_notify_umode(server, server->router->connection,
                                  server->server_type == SILC_SERVER ?