From 9db7af579c46a9f0379fdf71fb773a0a76a94846 Mon Sep 17 00:00:00 2001 From: danieldg Date: Sat, 17 Oct 2009 18:52:39 +0000 Subject: Make classbase and refcountbase uncopyable; expand comments on their indended uses git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11888 e03df62e-2008-0410-955e-edbf42e46eb7 --- src/users.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/users.cpp') diff --git a/src/users.cpp b/src/users.cpp index 657225069..542a6e565 100644 --- a/src/users.cpp +++ b/src/users.cpp @@ -583,14 +583,14 @@ void User::OnError(BufferedSocketError) ServerInstance->Users->QuitUser(this, getError()); } -bool User::cull() +CullResult User::cull() { if (!quitting) ServerInstance->Users->QuitUser(this, "Culled without QuitUser"); if (uuid.empty()) { ServerInstance->Logs->Log("USERS", DEBUG, "User culled twice? UUID empty"); - return true; + return Extensible::cull(); } PurgeEmptyChannels(); if (IS_LOCAL(this)) @@ -625,7 +625,7 @@ bool User::cull() ServerInstance->Users->uuidlist->erase(uuid); uuid.clear(); - return true; + return Extensible::cull(); } void User::Oper(const std::string &opertype, const std::string &opername) -- cgit v1.3.1-10-gc9f91