diff options
author | michael <michael@82007160-df01-0410-b94d-b575c5fd34c7> | 2012-10-30 21:04:38 +0000 |
---|---|---|
committer | michael <michael@82007160-df01-0410-b94d-b575c5fd34c7> | 2012-10-30 21:04:38 +0000 |
commit | 363f35dab5293ee89b870df8effd09249d024576 (patch) | |
tree | 82fa01195c8cfe635bcef3a28f0b51ebfef0d424 /contrib/ip_cloaking.c | |
parent | eef62fc56ba6df5690830206d5341cbd5be91612 (diff) |
- Made m_globops() and ms_globops() use sendto_realops_flags()
- Added message-type parameter to sendto_realops_flags() which can be one of
SEND_NOTICE, SEND_GLOBAL, SEND_LOCOPS
- Forward-port -r1617
git-svn-id: svn://svn.ircd-hybrid.org/svnroot/ircd-hybrid/trunk@1618 82007160-df01-0410-b94d-b575c5fd34c7
Diffstat (limited to 'contrib/ip_cloaking.c')
-rw-r--r-- | contrib/ip_cloaking.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/contrib/ip_cloaking.c b/contrib/ip_cloaking.c index d9c2d68..2b2cf48 100644 --- a/contrib/ip_cloaking.c +++ b/contrib/ip_cloaking.c @@ -422,7 +422,8 @@ module_init(void) { ilog(LOG_TYPE_IRCD, "You have more than 32 usermodes, " "IP cloaking not installed"); - sendto_realops_flags(UMODE_ALL, L_ALL, "You have more than " + sendto_realops_flags(UMODE_ALL, L_ALL, SEND_NOTICE, + "You have more than " "32 usermodes, IP cloaking not installed"); return; } @@ -433,7 +434,8 @@ module_init(void) else { ilog(LOG_TYPE_IRCD, "Usermode +h already in use, IP cloaking not installed"); - sendto_realops_flags(UMODE_ALL, L_ALL, "Usermode +h already in use, " + sendto_realops_flags(UMODE_ALL, L_ALL, SEND_NOTICE, + "Usermode +h already in use, " "IP cloaking not installed"); return; } |