1
0
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:
cyberbotx
2009-02-14 03:18:38 +00:00
parent b167c89ca6
commit 99967932a4
3 changed files with 2 additions and 4 deletions
-2
View File
@@ -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
+1 -1
View File
@@ -27,7 +27,7 @@ class CommandOSGlobal : public Command
CommandReturn Execute(User *u, std::vector<std::string> &params)
{
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);
+1 -1
View File
@@ -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;
}
}