From ad3524174350633c25dc8a4e5ffbb7066c4b8cba Mon Sep 17 00:00:00 2001 From: w00t Date: Sun, 21 Sep 2008 12:56:03 +0000 Subject: Be consistent. Use ServerInstance in all places instead of 'Instance' in half. This has bugged me forever :p. I think I got all of extra/ too.. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10579 e03df62e-2008-0410-955e-edbf42e46eb7 --- src/modules/m_spanningtree/svsjoin.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/modules/m_spanningtree/svsjoin.cpp') diff --git a/src/modules/m_spanningtree/svsjoin.cpp b/src/modules/m_spanningtree/svsjoin.cpp index d3c47f47b..92fe0ac22 100644 --- a/src/modules/m_spanningtree/svsjoin.cpp +++ b/src/modules/m_spanningtree/svsjoin.cpp @@ -31,13 +31,13 @@ bool TreeSocket::ServiceJoin(const std::string &prefix, std::deque if (params.size() < 2) return true; - User* u = this->Instance->FindNick(params[0]); + User* u = this->ServerInstance->FindNick(params[0]); if (u) { /* only join if it's local, otherwise just pass it on! */ if (IS_LOCAL(u)) - Channel::JoinUser(this->Instance, u, params[1].c_str(), false, "", false, Instance->Time()); + Channel::JoinUser(this->ServerInstance, u, params[1].c_str(), false, "", false, ServerInstance->Time()); Utils->DoOneToAllButSender(prefix,"SVSJOIN",params,prefix); } return true; -- cgit v1.3.1-10-gc9f91