From 881acf00c65cfc75a4a3df3d6144c99b4f403671 Mon Sep 17 00:00:00 2001 From: William Pitcock Date: Tue, 8 Mar 2016 13:47:41 -0600 Subject: [PATCH] ircd: fix up some iwarn() calls which referred to L_MAIN --- ircd/dns.c | 2 +- ircd/modules.c | 3 +-- ircd/s_auth.c | 1 + 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/ircd/dns.c b/ircd/dns.c index 842e1037..5d936ea3 100644 --- a/ircd/dns.c +++ b/ircd/dns.c @@ -312,7 +312,7 @@ get_nameservers_cb(int resc, const char *resv[], int status, void *data) else { const char *error = resc ? resv[resc] : "Unknown error"; - iwarn(L_MAIN, "Error getting DNS servers: %s", error); + iwarn("Error getting DNS servers: %s", error); } } diff --git a/ircd/modules.c b/ircd/modules.c index 72fe3f08..09fc4a98 100644 --- a/ircd/modules.c +++ b/ircd/modules.c @@ -919,8 +919,7 @@ load_a_module(const char *path, int warn, int origin, int core) if (delta > MOD_WARN_DELTA) { delta /= 86400; - iwarn(L_MAIN, - "Module %s build date is out of sync with ircd build date by %ld days, expect problems", + iwarn("Module %s build date is out of sync with ircd build date by %ld days, expect problems", mod_basename, delta); sendto_realops_snomask(SNO_GENERAL, L_ALL, "Module %s build date is out of sync with ircd build date by %ld days, expect problems", diff --git a/ircd/s_auth.c b/ircd/s_auth.c index c87c7aa5..86ce272f 100644 --- a/ircd/s_auth.c +++ b/ircd/s_auth.c @@ -21,6 +21,7 @@ * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 * USA * + */ /* * Changes: