Fix presense and help of module arguments.

See github issue #192
This commit is contained in:
Alexey Sokolov
2012-07-17 09:14:02 +07:00
parent 373490f2d1
commit fca5eebe53
21 changed files with 77 additions and 3 deletions

View File

@@ -127,6 +127,10 @@ void CShellSock::Disconnected() {
m_pParent->SetClient(NULL);
}
template<> void TModInfo<CShellMod>(CModInfo& Info) {
Info.SetWikiPage("shell");
}
#ifdef MOD_SHELL_ALLOW_EVERYONE
USERMODULEDEFS(CShellMod, "Gives shell access")
#else