diff options
-rw-r--r-- | include/send.h | 2 | ||||
-rw-r--r-- | modules/core/m_nick.c | 2 | ||||
-rw-r--r-- | 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)); @@ -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]; |