diff options
| author | 2008-09-21 12:56:03 +0000 | |
|---|---|---|
| committer | 2008-09-21 12:56:03 +0000 | |
| commit | ad3524174350633c25dc8a4e5ffbb7066c4b8cba (patch) | |
| tree | 32b54faeca449b75ae9bc9f839c36ef448c9dd57 /src/modules/m_spanningtree/kill.cpp | |
| parent | Fixes. Dont try and catch exceptions within the RLine ctor, we dont always wa... (diff) | |
| download | inspircd++-ad3524174350633c25dc8a4e5ffbb7066c4b8cba.tar.gz inspircd++-ad3524174350633c25dc8a4e5ffbb7066c4b8cba.tar.bz2 inspircd++-ad3524174350633c25dc8a4e5ffbb7066c4b8cba.zip | |
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/kill.cpp')
| -rw-r--r-- | src/modules/m_spanningtree/kill.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/modules/m_spanningtree/kill.cpp b/src/modules/m_spanningtree/kill.cpp index 93bed9bbe..c70ce27cb 100644 --- a/src/modules/m_spanningtree/kill.cpp +++ b/src/modules/m_spanningtree/kill.cpp @@ -28,7 +28,7 @@ bool TreeSocket::RemoteKill(const std::string &prefix, std::deque<std::string> & if (params.size() != 2) return true; - User* who = this->Instance->FindNick(params[0]); + User* who = this->ServerInstance->FindNick(params[0]); if (who) { @@ -44,7 +44,7 @@ bool TreeSocket::RemoteKill(const std::string &prefix, std::deque<std::string> & // NOTE: This is safe with kill hiding on, as RemoteKill is only reached if we have a server prefix. // in short this is not executed for USERS. who->Write(":%s KILL %s :%s (%s)", prefix.c_str(), who->nick.c_str(), prefix.c_str(), reason.c_str()); - this->Instance->Users->QuitUser(who, reason); + this->ServerInstance->Users->QuitUser(who, reason); } return true; } |
