From fd813c01afa8a90940f837bdc7a372f2a2ce5a18 Mon Sep 17 00:00:00 2001 From: TheLordOfTime Date: Tue, 29 Jan 2013 04:46:55 -0500 Subject: [PATCH] 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. --- modules/controlpanel.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/controlpanel.cpp b/modules/controlpanel.cpp index 0945affe..0e3a293f 100644 --- a/modules/controlpanel.cpp +++ b/modules/controlpanel.cpp @@ -879,7 +879,7 @@ class CAdminMod : public CModule { CString sNetwork = sLine.Token(2); if (sNetwork.empty()) { - PutModule("Usage: Reconnect "); + PutModule("Usage: Disconnect "); return; }