summaryrefslogtreecommitdiff
path: root/src/modules
diff options
context:
space:
mode:
authorAttila Molnar <attilamolnar@hush.com>2015-01-21 19:04:10 +0100
committerAttila Molnar <attilamolnar@hush.com>2015-01-21 19:04:10 +0100
commit383a68a38ab34fa8cc0884c854e8e255d927f399 (patch)
treecd62efb97c9a1de25902d2053a61931625fc6876 /src/modules
parent54ecd7ff910408015d395c5c737fb48dfb9d7a0a (diff)
parente27820683226e3832936bccd537b45bc04208f74 (diff)
Merge pull request #961 from SaberUK/insp20+fix-snotice
Fix a snotice in m_spanningtree incorrectly using an unsigned long.
Diffstat (limited to 'src/modules')
-rw-r--r--src/modules/m_spanningtree/fjoin.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/modules/m_spanningtree/fjoin.cpp b/src/modules/m_spanningtree/fjoin.cpp
index c8cd768aa..47b394522 100644
--- a/src/modules/m_spanningtree/fjoin.cpp
+++ b/src/modules/m_spanningtree/fjoin.cpp
@@ -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)
{