From d7a0cd3db1e8b64a6f706f1831e645ad69aa7927 Mon Sep 17 00:00:00 2001 From: w00t Date: Wed, 9 Apr 2008 15:34:54 +0000 Subject: 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 --- src/xline.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/xline.cpp') 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) -- cgit v1.2.3