/*
* ngIRCd -- The Next Generation IRC Daemon
- * Copyright (c)2001-2015 Alexander Barton (alex@barton.de) and Contributors.
+ * Copyright (c)2001-2018 Alexander Barton (alex@barton.de) and Contributors.
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
}
if (Client_Conn(Client) != NONE) {
- Client_Destroy(Client, NULL, msg, false);
+ Conn_Close(Client_Conn(Client), NULL, msg, false);
return DISCONNECTED;
}
* Send help for a given topic to the client.
*
* @param Client The client requesting help.
- * @param Topoc The help topic requested.
+ * @param Topic The help topic requested.
* @return CONNECTED or DISCONNECTED.
*/
static bool