0
0
Fork 0
mirror of https://github.com/matrix-construct/construct synced 2024-11-18 07:50:57 +01:00

ircd: fix up some iwarn() calls which referred to L_MAIN

This commit is contained in:
William Pitcock 2016-03-08 13:47:41 -06:00
parent 3089f59c10
commit 881acf00c6
3 changed files with 3 additions and 3 deletions

View file

@ -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);
}
}

View file

@ -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",

View file

@ -21,6 +21,7 @@
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307
* USA
*
*/
/*
* Changes: