From 5412fd149446f890252b7bf4c15d6ed63435db20 Mon Sep 17 00:00:00 2001 From: psychon Date: Sat, 17 Nov 2007 22:43:11 +0000 Subject: [PATCH] Remove some code from crypt which makes no sense git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@876 726aef4b-f618-498e-8847-2d620e286838 --- modules/crypt.cpp | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) diff --git a/modules/crypt.cpp b/modules/crypt.cpp index d4e60400..322ccfb7 100644 --- a/modules/crypt.cpp +++ b/modules/crypt.cpp @@ -34,15 +34,7 @@ class CCryptMod : public CModule { public: MODCONSTRUCTOR(CCryptMod) {} - virtual ~CCryptMod() { - time_t t; - time(&t); - srand((long) t); - } - - virtual EModRet OnRaw(CString& sLine) { - return CONTINUE; - } + virtual ~CCryptMod() {} virtual EModRet OnUserMsg(CString& sTarget, CString& sMessage) { sTarget.TrimLeft("\244");