Skip to content

Commit

Permalink
controlpanel.cpp: Fix bug for "Disconnect" help
Browse files Browse the repository at this point in the history
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
TheLordOfTime committed Jan 29, 2013
1 parent 0491e55 commit fd813c0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modules/controlpanel.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}

Expand Down

0 comments on commit fd813c0

Please sign in to comment.