From 84abd9ec1a5c03c12a008b77711f95f4adf45f11 Mon Sep 17 00:00:00 2001 From: psychon Date: Tue, 29 Jun 2010 19:07:04 +0000 Subject: [PATCH] Remove OnUser{Attached,Detached} These are unused functions that are only used for generating warning messages due to -Woverloaded-virtual. These were introduced in 2008. I think nothing needs this any more, so let's just remove these for good. Bye, bye. git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@2047 726aef4b-f618-498e-8847-2d620e286838 --- Modules.h | 4 ---- 1 file changed, 4 deletions(-) diff --git a/Modules.h b/Modules.h index 2cde7c2c..6a38b58c 100644 --- a/Modules.h +++ b/Modules.h @@ -499,10 +499,6 @@ public: */ virtual EModRet OnPrivBufferPlayLine(CClient& Client, CString& sLine); - /** @deprecated Use CModule::OnClientLogin instead. */ - virtual void OnUserAttached(bool thisFunctionWasRemoved, bool UseOnClientLogin) {} - /** @deprecated Use CModule::OnClientDisconnect instead. */ - virtual void OnUserDetached(bool thisFunctionWasRemoved, bool UseOnClientDisconnect) {} /** Called when a client successfully logged in to ZNC. */ virtual void OnClientLogin(); /** Called when a client disconnected from ZNC. */