mirror of
https://github.com/znc/znc.git
synced 2026-08-03 23:43:42 +02:00
controlpanel.cpp: Fix bug for "Disconnect" help
This fixes a bug in which providing empty data for the 'disconnect' command for controlpanel will return the 'reconnect' command's syntax help, which can confuse users.
This commit is contained in:
@@ -879,7 +879,7 @@ class CAdminMod : public CModule {
|
||||
CString sNetwork = sLine.Token(2);
|
||||
|
||||
if (sNetwork.empty()) {
|
||||
PutModule("Usage: Reconnect <username> <network>");
|
||||
PutModule("Usage: Disconnect <username> <network>");
|
||||
return;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user