0
0
Fork 0
mirror of https://github.com/matrix-construct/construct synced 2024-11-12 04:51:08 +01:00

construct: Simplify warning condition; fix warning log message argument.

This commit is contained in:
Jason Volk 2019-08-17 22:23:24 -07:00
parent 272e28aebe
commit 51adbcfe24

View file

@ -275,14 +275,14 @@ try
ircd::info::tag,
};
if(RB_TIME_CONFIGURED > ircd::info::configured_time || RB_TIME_CONFIGURED < ircd::info::configured_time)
if(RB_TIME_CONFIGURED != ircd::info::configured_time)
ircd::log::warning
{
"Header configuration time:%ld (%s) %s than library configuration time:%ld (%s).",
RB_TIME_CONFIGURED,
RB_VERSION_TAG,
RB_TIME_CONFIGURED > ircd::info::configured_time? "newer" : "older",
ircd::info::configured,
ircd::info::configured_time,
ircd::info::tag,
};