diff options
author | attilamolnar <attilamolnar@hush.com> | 2013-08-08 15:10:48 +0200 |
---|---|---|
committer | attilamolnar <attilamolnar@hush.com> | 2013-08-08 15:10:48 +0200 |
commit | 9962840222b6886f7653fc64443f19ebd661cc63 (patch) | |
tree | 67686d0db5f8806a114a9b634f6e67cf9b70f7fa /src/modules/m_spanningtree | |
parent | 1f38b9adb576580d8e8638fefc5c7cb157f90a5c (diff) |
Fix a couple of issues
- Wrong doc for Snomask::GetDescription()
- Incorrect idle time when WHOISing remote users
- String + int = garbage
- Remote MODE commands (user mode changes) being broadcast in addition to being forwarded
- Incorrect revision being shown
Diffstat (limited to 'src/modules/m_spanningtree')
-rw-r--r-- | src/modules/m_spanningtree/idle.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/m_spanningtree/idle.cpp b/src/modules/m_spanningtree/idle.cpp index bf074bf7f..2c95eaad1 100644 --- a/src/modules/m_spanningtree/idle.cpp +++ b/src/modules/m_spanningtree/idle.cpp @@ -60,7 +60,7 @@ bool TreeSocket::Whois(const std::string &prefix, parameterlist ¶ms) // Possible case when our clock ticked backwards idle = 0; else - idle = ((unsigned int) (localtarget->idle_lastmsg - ServerInstance->Time())); + idle = ((unsigned int) (ServerInstance->Time() - localtarget->idle_lastmsg)); parameterlist reply; reply.push_back(prefix); |