msg_notice_server(hostname, client->nick,
"Your information has been recorded. Contact IRCops for assistance with registration.");
sendbuf(client);
+ } else if(strcmp(command, "GHOST") == 0) {
+ if (client->umode & UMODE_REGISTERED)
+ return 0; // FIXME: error message
+ struct client_data *cl = findClient(client->username);
+ if (!cl)
+ return 0; // FIXME: error message
+ if (client == cl)
+ return 0; // FIXME: error message
+ killConnection(cl, false);
} else if(strcmp(command, "JEDGAR") == 0) {
if (!is_registered(client))
return err_notregistered(client), sendbuf(client), 0;