diff options
| author | 2008-04-09 15:34:54 +0000 | |
|---|---|---|
| committer | 2008-04-09 15:34:54 +0000 | |
| commit | d7a0cd3db1e8b64a6f706f1831e645ad69aa7927 (patch) | |
| tree | 16c271fcada893eb55778952251bd89ee836ae52 /src/modules/m_spanningtree/kill.cpp | |
| parent | Apply brain's patch for binary safety of hash providers, and remove rehash fr... (diff) | |
| download | inspircd++-d7a0cd3db1e8b64a6f706f1831e645ad69aa7927.tar.gz inspircd++-d7a0cd3db1e8b64a6f706f1831e645ad69aa7927.tar.bz2 inspircd++-d7a0cd3db1e8b64a6f706f1831e645ad69aa7927.zip | |
Move QuitUser into UserManager class, and unstaticize it. This prepares for some benchmarking lulz on object pooling I plan to do today, as well as making more sense now we *have* a manager class
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9442 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src/modules/m_spanningtree/kill.cpp')
| -rw-r--r-- | src/modules/m_spanningtree/kill.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/m_spanningtree/kill.cpp b/src/modules/m_spanningtree/kill.cpp index 5e7739c62..ca68867e6 100644 --- a/src/modules/m_spanningtree/kill.cpp +++ b/src/modules/m_spanningtree/kill.cpp @@ -43,7 +43,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, prefix.c_str(), reason.c_str()); - User::QuitUser(this->Instance,who,reason); + this->Instance->Users->QuitUser(who, reason); } return true; } |
