summaryrefslogtreecommitdiff
path: root/src/core
diff options
context:
space:
mode:
Diffstat (limited to 'src/core')
-rw-r--r--src/core/os_modinfo.c20
1 files changed, 0 insertions, 20 deletions
diff --git a/src/core/os_modinfo.c b/src/core/os_modinfo.c
index 485ba89bb..93100c3f1 100644
--- a/src/core/os_modinfo.c
+++ b/src/core/os_modinfo.c
@@ -17,7 +17,6 @@
int do_modinfo(User * u);
void myOperServHelp(User * u);
-int showModuleMsgLoaded(MessageHash * msgList, const char *mod_name, User * u);
int showModuleCmdLoaded(CommandHash * cmdList, const char *mod_name, User * u);
class OSModInfo : public Module
@@ -81,8 +80,6 @@ int do_modinfo(User * u)
showModuleCmdLoaded(BOTSERV[idx], m->name.c_str(), u);
showModuleCmdLoaded(MEMOSERV[idx], m->name.c_str(), u);
showModuleCmdLoaded(HELPSERV[idx], m->name.c_str(), u);
- showModuleMsgLoaded(IRCD[idx], m->name.c_str(), u);
-
}
} else {
notice_lang(s_OperServ, u, OPER_MODULE_NO_INFO, file);
@@ -108,21 +105,4 @@ int showModuleCmdLoaded(CommandHash * cmdList, const char *mod_name, User * u)
return display;
}
-int showModuleMsgLoaded(MessageHash * msgList, const char *mod_name, User * u)
-{
- Message *msg;
- MessageHash *mcurrent;
- int display = 0;
- for (mcurrent = msgList; mcurrent; mcurrent = mcurrent->next) {
- for (msg = mcurrent->m; msg; msg = msg->next) {
- if ((msg->mod_name) && (stricmp(msg->mod_name, mod_name) == 0)) {
- notice_lang(s_OperServ, u, OPER_MODULE_MSG_LIST,
- msg->name);
- display++;
- }
- }
- }
- return display;
-}
-
MODULE_INIT("os_modinfo", OSModInfo)