ircd: fix up some iwarn() calls which referred to L_MAIN
This commit is contained in:
parent
3089f59c10
commit
881acf00c6
3 changed files with 3 additions and 3 deletions
|
@ -312,7 +312,7 @@ get_nameservers_cb(int resc, const char *resv[], int status, void *data)
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
const char *error = resc ? resv[resc] : "Unknown error";
|
const char *error = resc ? resv[resc] : "Unknown error";
|
||||||
iwarn(L_MAIN, "Error getting DNS servers: %s", error);
|
iwarn("Error getting DNS servers: %s", error);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -919,8 +919,7 @@ load_a_module(const char *path, int warn, int origin, int core)
|
||||||
if (delta > MOD_WARN_DELTA)
|
if (delta > MOD_WARN_DELTA)
|
||||||
{
|
{
|
||||||
delta /= 86400;
|
delta /= 86400;
|
||||||
iwarn(L_MAIN,
|
iwarn("Module %s build date is out of sync with ircd build date by %ld days, expect problems",
|
||||||
"Module %s build date is out of sync with ircd build date by %ld days, expect problems",
|
|
||||||
mod_basename, delta);
|
mod_basename, delta);
|
||||||
sendto_realops_snomask(SNO_GENERAL, L_ALL,
|
sendto_realops_snomask(SNO_GENERAL, L_ALL,
|
||||||
"Module %s build date is out of sync with ircd build date by %ld days, expect problems",
|
"Module %s build date is out of sync with ircd build date by %ld days, expect problems",
|
||||||
|
|
|
@ -21,6 +21,7 @@
|
||||||
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307
|
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307
|
||||||
* USA
|
* USA
|
||||||
*
|
*
|
||||||
|
*/
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Changes:
|
* Changes:
|
||||||
|
|
Loading…
Reference in a new issue