From c91aeb89d8f00cf45e372d0a61cbbb58b7d60e99 Mon Sep 17 00:00:00 2001 From: om Date: Mon, 23 Jan 2006 14:58:49 +0000 Subject: removing the rest of a redundant and dangerour OnUserQuit git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2860 e03df62e-2008-0410-955e-edbf42e46eb7 --- src/modules/extra/m_ssl_gnutls.cpp | 6 ------ 1 file changed, 6 deletions(-) diff --git a/src/modules/extra/m_ssl_gnutls.cpp b/src/modules/extra/m_ssl_gnutls.cpp index f8ad6af54..c0bc93c0e 100644 --- a/src/modules/extra/m_ssl_gnutls.cpp +++ b/src/modules/extra/m_ssl_gnutls.cpp @@ -439,12 +439,6 @@ class ModuleSSL : public Module return 1; } - - virtual void OnUserQuit(userrec* user, std::string reason) - { - if (user->fd > -1) - CloseSession(&sessions[user->fd]); - } // :kenny.chatspike.net 320 Om Epy|AFK :is a Secure Connection virtual void OnWhois(userrec* source, userrec* dest) -- cgit v1.2.3