mirror of
https://github.com/inspircd/inspircd.git
synced 2025-03-10 11:09:04 -04:00
Merge pull request #961 from SaberUK/insp20+fix-snotice
Fix a snotice in m_spanningtree incorrectly using an unsigned long.
This commit is contained in:
commit
383a68a38a
@ -86,8 +86,8 @@ CmdResult CommandFJoin::Handle(const std::vector<std::string>& params, User *src
|
||||
time_t ourTS = chan->age;
|
||||
|
||||
if (TS != ourTS)
|
||||
ServerInstance->SNO->WriteToSnoMask('d', "Merge FJOIN received for %s, ourTS: %lu, TS: %lu, difference: %lu",
|
||||
chan->name.c_str(), (unsigned long)ourTS, (unsigned long)TS, (unsigned long)(ourTS - TS));
|
||||
ServerInstance->SNO->WriteToSnoMask('d', "Merge FJOIN received for %s, ourTS: %lu, TS: %lu, difference: %ld",
|
||||
chan->name.c_str(), (unsigned long)ourTS, (unsigned long)TS, (long)(ourTS - TS));
|
||||
/* If our TS is less than theirs, we dont accept their modes */
|
||||
if (ourTS < TS)
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user