summaryrefslogtreecommitdiff
path: root/src/modules/m_spanningtree/svspart.cpp
diff options
context:
space:
mode:
authorw00t <w00t@e03df62e-2008-0410-955e-edbf42e46eb7>2008-09-21 12:56:03 +0000
committerw00t <w00t@e03df62e-2008-0410-955e-edbf42e46eb7>2008-09-21 12:56:03 +0000
commitad3524174350633c25dc8a4e5ffbb7066c4b8cba (patch)
tree32b54faeca449b75ae9bc9f839c36ef448c9dd57 /src/modules/m_spanningtree/svspart.cpp
parent1daa5273d70105f112d93a7528032826c9a66983 (diff)
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
Diffstat (limited to 'src/modules/m_spanningtree/svspart.cpp')
-rw-r--r--src/modules/m_spanningtree/svspart.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/modules/m_spanningtree/svspart.cpp b/src/modules/m_spanningtree/svspart.cpp
index 95d1a1c23..59f9b7fcc 100644
--- a/src/modules/m_spanningtree/svspart.cpp
+++ b/src/modules/m_spanningtree/svspart.cpp
@@ -36,8 +36,8 @@ bool TreeSocket::ServicePart(const std::string &prefix, std::deque<std::string>
if (params.size() == 3)
reason = params[2];
- User* u = this->Instance->FindNick(params[0]);
- Channel* c = this->Instance->FindChan(params[1]);
+ User* u = this->ServerInstance->FindNick(params[0]);
+ Channel* c = this->ServerInstance->FindChan(params[1]);
if (u)
{