From ed73d7675152ccc66f20daedca8586a8de254a84 Mon Sep 17 00:00:00 2001 From: Adam Date: Mon, 14 Mar 2011 13:52:26 -0400 Subject: Rewrote some of the opertype system, added os_login --- modules/core/ms_help.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'modules/core/ms_help.cpp') diff --git a/modules/core/ms_help.cpp b/modules/core/ms_help.cpp index c27f1791b..54210e4fe 100644 --- a/modules/core/ms_help.cpp +++ b/modules/core/ms_help.cpp @@ -37,7 +37,7 @@ class CommandMSHelp : public Command "registered in order to send a memo.\n" "%s's commands include:"), MemoServ->nick.c_str(), MemoServ->nick.c_str()); for (CommandMap::const_iterator it = MemoServ->Commands.begin(), it_end = MemoServ->Commands.end(); it != it_end; ++it) - if (!Config->HidePrivilegedCommands || it->second->permission.empty() || (u->Account() && u->Account()->HasCommand(it->second->permission))) + if (!Config->HidePrivilegedCommands || it->second->permission.empty() || u->HasCommand(it->second->permission)) it->second->OnServHelp(source); source.Reply(_("Type \002%R%s HELP \037command\037\002 for help on any of the\n" "above commands.\n" -- cgit