From 074adc94c1718bdb3f5e45eff7e58c2b54134c9f Mon Sep 17 00:00:00 2001 From: psychon Date: Sun, 24 Aug 2008 06:19:14 +0000 Subject: [PATCH] Don't check if perl is enabled in modperl The Makefile only compiles this module if it is enabled. I think it's better to error out if for some reason this doesn't work instead of silently producing an empty modperl.so. git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@1165 726aef4b-f618-498e-8847-2d620e286838 --- modules/modperl.cpp | 11 ----------- 1 file changed, 11 deletions(-) diff --git a/modules/modperl.cpp b/modules/modperl.cpp index df968c4e..fe5da6d3 100644 --- a/modules/modperl.cpp +++ b/modules/modperl.cpp @@ -15,7 +15,6 @@ * PERL_DESTRUCT_LEVEL is a perl env flag to force the VM to cleanup, this also stops false alarms, but within perl */ -#ifdef HAVE_PERL #include "Chan.h" #include "User.h" #include "znc.h" @@ -1223,13 +1222,3 @@ Csock *CPerlSock::GetSockObj(const CS_STRING & sHostname, u_short iPort) return(p); } - -#endif /* HAVE_PERL */ - - - - - - - -