Skip to content
Browse files

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.
  • Loading branch information...
1 parent 0491e55 commit fd813c01afa8a90940f837bdc7a372f2a2ce5a18 TheLordOfTime committed Jan 29, 2013
Showing with 1 addition and 1 deletion.
  1. +1 −1 modules/controlpanel.cpp
View
2 modules/controlpanel.cpp
@@ -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;
}

0 comments on commit fd813c0

Please sign in to comment.
Something went wrong with that request. Please try again.