diff options
author | dane dane@31f1291d-b8d6-0310-a050-a5561fc1590b <dane dane@31f1291d-b8d6-0310-a050-a5561fc1590b@5417fbe8-f217-4b02-8779-1006273d7864> | 2004-08-23 18:36:58 +0000 |
---|---|---|
committer | dane dane@31f1291d-b8d6-0310-a050-a5561fc1590b <dane dane@31f1291d-b8d6-0310-a050-a5561fc1590b@5417fbe8-f217-4b02-8779-1006273d7864> | 2004-08-23 18:36:58 +0000 |
commit | 61a23cd017465cd2bff5f037cf54e051a6318b37 (patch) | |
tree | 5827cad42b833c88be5783d457ffb03b00c785bf /src/modules.c | |
parent | 26ea4bc11b4e07bbeb95031f2337ff695f83cc16 (diff) |
BUILD : 1.7.5 (327) BUGS : none NOTES : Merged anope-capab into main trunk...
git-svn-id: svn://svn.anope.org/anope/trunk@327 31f1291d-b8d6-0310-a050-a5561fc1590b
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@203 5417fbe8-f217-4b02-8779-1006273d7864
Diffstat (limited to 'src/modules.c')
-rw-r--r-- | src/modules.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/modules.c b/src/modules.c index 2a78a7af7..26c4651d7 100644 --- a/src/modules.c +++ b/src/modules.c @@ -1,4 +1,5 @@ /* Modular support +/* Modular support * * (C) 2003 Anope Team * Contact us at info@anope.org @@ -370,7 +371,7 @@ int loadModule(Module * m, User * u) } if (u) { - wallops(s_OperServ, "%s loaded module %s", u->nick, m->name); + anope_cmd_global(s_OperServ, "%s loaded module %s", u->nick, m->name); notice_lang(s_OperServ, u, OPER_MODULE_LOADED, m->name); } addModule(m); @@ -416,7 +417,7 @@ int unloadModule(Module * m, User * u) return MOD_ERR_NOUNLOAD; } else { if (u) { - wallops(s_OperServ, "%s unloaded module %s", u->nick, m->name); + anope_cmd_global(s_OperServ, "%s unloaded module %s", u->nick, m->name); notice_lang(s_OperServ, u, OPER_MODULE_UNLOADED, m->name); } delModule(m); @@ -2023,3 +2024,4 @@ void moduleCleanStruct(ModuleData * moduleData[]) } /* EOF */ + |