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 /modules/m_challenge.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 'modules/m_challenge.c')
-rw-r--r-- | modules/m_challenge.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/modules/m_challenge.c b/modules/m_challenge.c index 4c24b3a..027d143 100644 --- a/modules/m_challenge.c +++ b/modules/m_challenge.c @@ -50,7 +50,8 @@ failed_challenge_notice(struct Client *source_p, const char *name, const char *reason) { if (ConfigFileEntry.failed_oper_notice) - sendto_realops_flags(UMODE_ALL, L_ALL, "Failed CHALLENGE attempt as %s " + sendto_realops_flags(UMODE_ALL, L_ALL, SEND_NOTICE, + "Failed CHALLENGE attempt as %s " "by %s (%s@%s) - %s", name, source_p->name, source_p->username, source_p->host, reason); |