diff options
author | w00t <w00t@e03df62e-2008-0410-955e-edbf42e46eb7> | 2008-04-09 15:34:54 +0000 |
---|---|---|
committer | w00t <w00t@e03df62e-2008-0410-955e-edbf42e46eb7> | 2008-04-09 15:34:54 +0000 |
commit | d7a0cd3db1e8b64a6f706f1831e645ad69aa7927 (patch) | |
tree | 16c271fcada893eb55778952251bd89ee836ae52 /src/xline.cpp | |
parent | 621de565e15f9301b1e735b4c758fb805da57d86 (diff) |
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/xline.cpp')
-rw-r--r-- | src/xline.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/xline.cpp b/src/xline.cpp index c964ec962..47e122420 100644 --- a/src/xline.cpp +++ b/src/xline.cpp @@ -409,9 +409,9 @@ void XLine::DefaultApply(User* u, const std::string &line, bool bancache) if (*ServerInstance->Config->MoronBanner) u->WriteServ("NOTICE %s :*** %s", u->nick, ServerInstance->Config->MoronBanner); if (ServerInstance->Config->HideBans) - User::QuitUser(ServerInstance, u, line + "-Lined", sreason); + ServerInstance->Users->QuitUser(u, line + "-Lined", sreason); else - User::QuitUser(ServerInstance, u, sreason); + ServerInstance->Users->QuitUser(u, sreason); if (bancache) |