diff options
-rw-r--r-- | Changes | 1 | ||||
-rw-r--r-- | src/core/os_modinfo.c | 20 | ||||
-rw-r--r-- | version.log | 6 |
3 files changed, 15 insertions, 12 deletions
@@ -3,6 +3,7 @@ Anope Version S V N 06/15 F Non-existing servers being SQUIT'd when they were juped. [#726] 06/15 F Back online notice being sent to juped servers. [#726] 06/15 F Not informing opers a SQUIT for a juped server was received. [#718] +06/18 F OperServ MODINFO giving misleading errors. [#732] Anope Version 1.7.19 -------------------- diff --git a/src/core/os_modinfo.c b/src/core/os_modinfo.c index 9d1366856..e0f5862b5 100644 --- a/src/core/os_modinfo.c +++ b/src/core/os_modinfo.c @@ -72,7 +72,6 @@ int do_modinfo(User * u) char timebuf[64]; Module *m; int idx = 0; - int display = 0; file = strtok(NULL, ""); if (!file) { @@ -88,18 +87,17 @@ int do_modinfo(User * u) m->version ? m->version : "?", m->author ? m->author : "?", timebuf); for (idx = 0; idx < MAX_CMD_HASH; idx++) { - display += showModuleCmdLoaded(HOSTSERV[idx], m->name, u); - display += showModuleCmdLoaded(OPERSERV[idx], m->name, u); - display += showModuleCmdLoaded(NICKSERV[idx], m->name, u); - display += showModuleCmdLoaded(CHANSERV[idx], m->name, u); - display += showModuleCmdLoaded(BOTSERV[idx], m->name, u); - display += showModuleCmdLoaded(MEMOSERV[idx], m->name, u); - display += showModuleCmdLoaded(HELPSERV[idx], m->name, u); - display += showModuleMsgLoaded(IRCD[idx], m->name, u); + showModuleCmdLoaded(HOSTSERV[idx], m->name, u); + showModuleCmdLoaded(OPERSERV[idx], m->name, u); + showModuleCmdLoaded(NICKSERV[idx], m->name, u); + showModuleCmdLoaded(CHANSERV[idx], m->name, u); + showModuleCmdLoaded(BOTSERV[idx], m->name, u); + showModuleCmdLoaded(MEMOSERV[idx], m->name, u); + showModuleCmdLoaded(HELPSERV[idx], m->name, u); + showModuleMsgLoaded(IRCD[idx], m->name, u); } - } - if (display == 0) { + } else { notice_lang(s_OperServ, u, OPER_MODULE_NO_INFO, file); } return MOD_CONT; diff --git a/version.log b/version.log index 437d26123..f4c01a213 100644 --- a/version.log +++ b/version.log @@ -9,10 +9,14 @@ VERSION_MAJOR="1" VERSION_MINOR="7" VERSION_PATCH="19" VERSION_EXTRA="-svn" -VERSION_BUILD="1250" +VERSION_BUILD="1251" # $Log$ # +# BUILD : 1.7.19 (1251) +# BUGS : 732 +# NOTES : Fixed /os MODINFO showing 'no information about module' when it was loaded but had no hooked commands +# # BUILD : 1.7.19 (1250) # BUGS : 718 # NOTES : Fixed the fact that we did not send a receive-notification for the SQUIT for a juped server |