Added support for removing client from invite list in KILLED/KILL.
[crypto.git] / apps / silcd / command.c
index b372dc80840b33b99b773d983bc038d16042daec..4b1a1c62e27d08e745b433568a172abe0ef4ec03 100644 (file)
@@ -1431,6 +1431,8 @@ SILC_SERVER_CMD_FUNC(kill)
 
     /* Do normal signoff for the destination client */
     sock = remote_client->connection;
+    silc_server_remove_from_channels(server, NULL, remote_client,
+                                    TRUE, (char *)"Killed", TRUE, TRUE);
     silc_server_free_client_data(server, NULL, remote_client, TRUE,
                                 comment ? comment :
                                 (unsigned char *)"Killed");