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:
parent
272e28aebe
commit
51adbcfe24
1 changed files with 2 additions and 2 deletions
|
@ -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,
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in a new issue