From 8537a54950a3767e54c0119a819e1ba8f8bced9e Mon Sep 17 00:00:00 2001 From: Attila Molnar Date: Fri, 24 Jan 2014 13:12:40 +0100 Subject: Remove classbase inheritance from Invitation --- src/channels.cpp | 2 -- 1 file changed, 2 deletions(-) (limited to 'src/channels.cpp') diff --git a/src/channels.cpp b/src/channels.cpp index 7763febd5..51a8f5625 100644 --- a/src/channels.cpp +++ b/src/channels.cpp @@ -853,7 +853,6 @@ Invitation* Invitation::Find(Channel* c, LocalUser* u, bool check_expired) std::string expiration = InspIRCd::TimeString(inv->expiry); ServerInstance->Logs->Log("INVITATION", LOG_DEBUG, "Invitation::Find ecountered expired entry: %p expired %s", (void*) inv, expiration.c_str()); i = locallist.erase(i); - inv->cull(); delete inv; } else @@ -891,7 +890,6 @@ void InviteBase::ClearInvites() locallist.swap(invites); for (InviteList::const_iterator i = locallist.begin(); i != locallist.end(); ++i) { - (*i)->cull(); delete *i; } } -- cgit v1.3.1-10-gc9f91