diff options
author | attilamolnar <attilamolnar@hush.com> | 2013-04-01 17:05:12 +0200 |
---|---|---|
committer | attilamolnar <attilamolnar@hush.com> | 2013-04-01 17:05:12 +0200 |
commit | 80e88c163dbd77b06b61d4fd734d51249cc0e172 (patch) | |
tree | 2ee3fa3fea938c56f3c7d4fc31bea02eaa664d7e /src/modules/m_spanningtree | |
parent | c1b376cd396f56e4d0eb3eafc04ff169e509ffc7 (diff) |
Move member variables from User to LocalUser
- idle_lastmsg
- dns_done
- quitting_sendq
- exempt
- lastping
Diffstat (limited to 'src/modules/m_spanningtree')
-rw-r--r-- | src/modules/m_spanningtree/idle.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/modules/m_spanningtree/idle.cpp b/src/modules/m_spanningtree/idle.cpp index 8bc0cd2bb..70453b975 100644 --- a/src/modules/m_spanningtree/idle.cpp +++ b/src/modules/m_spanningtree/idle.cpp @@ -40,7 +40,8 @@ bool TreeSocket::Whois(const std::string &prefix, parameterlist ¶ms) User* x = ServerInstance->FindNick(params[0]); if ((x) && (IS_LOCAL(x))) { - long idle = abs((long)((x->idle_lastmsg) - ServerInstance->Time())); + LocalUser* lu = IS_LOCAL(x); + long idle = abs((long)((lu->idle_lastmsg) - ServerInstance->Time())); parameterlist par; par.push_back(prefix); par.push_back(ConvToStr(x->signon)); |