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/pong.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/modules/m_spanningtree/pong.cpp') diff --git a/src/modules/m_spanningtree/pong.cpp b/src/modules/m_spanningtree/pong.cpp index 8e21f5a3e..e14d62cb5 100644 --- a/src/modules/m_spanningtree/pong.cpp +++ b/src/modules/m_spanningtree/pong.cpp @@ -46,7 +46,7 @@ bool TreeSocket::LocalPong(const std::string &prefix, std::deque &p else { std::string forwardto = params[1]; - if (forwardto == Instance->Config->GetSID() || forwardto == Instance->Config->ServerName) + if (forwardto == ServerInstance->Config->GetSID() || forwardto == ServerInstance->Config->ServerName) { /* * this is a PONG for us @@ -54,7 +54,7 @@ bool TreeSocket::LocalPong(const std::string &prefix, std::deque &p * dump the PONG reply back to their fd. If its a server, do nowt. * Services might want to send these s->s, but we dont need to yet. */ - User* u = this->Instance->FindNick(prefix); + User* u = this->ServerInstance->FindNick(prefix); if (u) { u->WriteServ("PONG %s %s",params[0].c_str(),params[1].c_str()); -- cgit v1.3.1-10-gc9f91