mirror of
https://github.com/anope/anope.git
synced 2026-07-01 23:46:38 +02:00
Audited os_global and os_modinfo, thanks to Adam for spotting and fixing these.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2044 5417fbe8-f217-4b02-8779-1006273d7864
This commit is contained in:
@@ -22,13 +22,11 @@ Legend:
|
||||
src/core/os_chanlist.c
|
||||
src/core/os_clearmodes.c
|
||||
src/core/os_defcon.c
|
||||
src/core/os_global.c
|
||||
src/core/os_help.c
|
||||
src/core/os_ignore.c
|
||||
src/core/os_jupe.c
|
||||
src/core/os_kick.c
|
||||
src/core/os_mode.c
|
||||
src/core/os_modinfo.c
|
||||
src/core/os_modlist.c
|
||||
src/core/os_news.c
|
||||
src/core/os_noop.c
|
||||
|
||||
@@ -27,7 +27,7 @@ class CommandOSGlobal : public Command
|
||||
|
||||
CommandReturn Execute(User *u, std::vector<std::string> ¶ms)
|
||||
{
|
||||
const char *msg = params[1].c_str();
|
||||
const char *msg = params[0].c_str();
|
||||
|
||||
if (WallOSGlobal)
|
||||
ircdproto->SendGlobops(s_OperServ, "\2%s\2 just used GLOBAL command.", u->nick);
|
||||
|
||||
@@ -103,7 +103,7 @@ int showModuleCmdLoaded(CommandHash *cmdList, const char *mod_name, User *u)
|
||||
{
|
||||
if (c->mod_name && !stricmp(c->mod_name, mod_name))
|
||||
{
|
||||
notice_lang(s_OperServ, u, OPER_MODULE_CMD_LIST, c->service, c->name);
|
||||
notice_lang(s_OperServ, u, OPER_MODULE_CMD_LIST, c->service, c->name.c_str());
|
||||
++display;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user