summaryrefslogtreecommitdiff
path: root/src/modules/m_spanningtree/fname.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/fname.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/fname.cpp')
-rw-r--r--src/modules/m_spanningtree/fname.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/m_spanningtree/fname.cpp b/src/modules/m_spanningtree/fname.cpp
index 8d2f137a5..ddbc79660 100644
--- a/src/modules/m_spanningtree/fname.cpp
+++ b/src/modules/m_spanningtree/fname.cpp
@@ -25,7 +25,7 @@ bool TreeSocket::ChangeName(const std::string &prefix, std::deque<std::string> &
{
if (params.size() < 1)
return true;
- User* u = this->Instance->FindNick(prefix);
+ User* u = this->ServerInstance->FindNick(prefix);
if (u)
{
u->ChangeName(params[0].c_str());