diff --git a/ClientCommand.cpp b/ClientCommand.cpp index c7bac44d..bf8ae445 100644 --- a/ClientCommand.cpp +++ b/ClientCommand.cpp @@ -778,6 +778,11 @@ void CClient::UserCommand(CString& sLine) { #else CString sMod = sLine.Token(1); + if (sMod.empty()) { + PutStatus("Usage: UpdateMod "); + return; + } + if (m_pUser->DenyLoadMod() || !m_pUser->IsAdmin()) { PutStatus("Unable to reload [" + sMod + "] Access Denied."); return; @@ -1047,7 +1052,7 @@ void CClient::HelpUser() { Table.AddRow(); Table.SetCell("Command", "RemServer"); - Table.SetCell("Arguments", ""); + Table.SetCell("Arguments", " [port] [pass]"); Table.SetCell("Description", "Remove a server from the list"); Table.AddRow(); @@ -1086,7 +1091,7 @@ void CClient::HelpUser() { if (m_pUser->IsAdmin()) { Table.AddRow(); Table.SetCell("Command", "AddVHost"); - Table.SetCell("Arguments", ""); + Table.SetCell("Arguments", ""); Table.SetCell("Description", "Adds a VHost for normal users to use"); Table.AddRow();