From 8d15178d62ea6028c51ee39f0e810865423cd73c Mon Sep 17 00:00:00 2001 From: michael Date: Fri, 28 Feb 2014 20:33:31 +0000 Subject: - Renamed ts_warn() to sendto_realops_flags_ratelimited() git-svn-id: svn://svn.ircd-hybrid.org/svnroot/ircd-hybrid/branches/8.1.x@3077 82007160-df01-0410-b94d-b575c5fd34c7 --- include/send.h | 2 +- modules/core/m_nick.c | 2 +- src/send.c | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/include/send.h b/include/send.h index ed75187..a536e86 100644 --- a/include/send.h +++ b/include/send.h @@ -92,7 +92,7 @@ extern void sendto_realops_flags(unsigned int, int, int, const char *, ...) AFP(4,5); extern void sendto_wallops_flags(unsigned int, struct Client *, const char *, ...) AFP(3,4); -extern void ts_warn(const char *, ...) AFP(1,2); +extern void sendto_realops_flags_ratelimited(const char *, ...) AFP(1,2); extern void sendto_anywhere(struct Client *, struct Client *, const char *, diff --git a/modules/core/m_nick.c b/modules/core/m_nick.c index ad2d87e..8e81721 100644 --- a/modules/core/m_nick.c +++ b/modules/core/m_nick.c @@ -283,7 +283,7 @@ nick_from_server(struct Client *client_p, struct Client *source_p, int parc, else { newts = source_p->tsinfo = CurrentTime; - ts_warn("Remote nick %s (%s) introduced without a TS", nick, parv[0]); + sendto_realops_flags_ratelimited("Remote nick %s (%s) introduced without a TS", nick, parv[0]); } strlcpy(source_p->svid, svsid, sizeof(source_p->svid)); diff --git a/src/send.c b/src/send.c index 48929fc..d2040ba 100644 --- a/src/send.c +++ b/src/send.c @@ -921,7 +921,7 @@ sendto_wallops_flags(unsigned int flags, struct Client *source_p, * (at most 5 warnings every 5 seconds) */ void -ts_warn(const char *pattern, ...) +sendto_realops_flags_ratelimited(const char *pattern, ...) { va_list args; char buffer[IRCD_BUFSIZE]; -- cgit