From a93be9ff1c417d73015fd53a9ee778ea2a642328 Mon Sep 17 00:00:00 2001 From: Adam Date: Thu, 6 May 2010 14:42:21 -0400 Subject: Added two events called in ns_info and cs_info that allows modules to easially add info output. Made os_info use this --- src/core/ns_info.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/core/ns_info.c') diff --git a/src/core/ns_info.c b/src/core/ns_info.c index 020745008..976e3d458 100644 --- a/src/core/ns_info.c +++ b/src/core/ns_info.c @@ -178,6 +178,8 @@ class CommandNSInfo : public Command } } + FOREACH_MOD(I_OnNickInfo, OnNickInfo(u, na, show_hidden)); + if (!show_hidden && u->Account() && (na->nc == u->Account() || has_auspex)) notice_lang(Config.s_NickServ, u, NICK_INFO_FOR_MORE, Config.s_NickServ, na->nick); } -- cgit