From c3a191d885d410daeab568bd3169a7493af5874e Mon Sep 17 00:00:00 2001 From: imaginos Date: Thu, 19 May 2005 00:37:28 +0000 Subject: [PATCH] be sure to enable readline git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@346 726aef4b-f618-498e-8847-2d620e286838 --- modules/modperl.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/modules/modperl.cpp b/modules/modperl.cpp index 287b86a1..1eb65d63 100644 --- a/modules/modperl.cpp +++ b/modules/modperl.cpp @@ -1120,6 +1120,9 @@ Csock *CPerlSock::GetSockObj( const CS_STRING & sHostname, int iPort ) p->SetUsername( m_sUsername ); p->SetModuleName( m_sModuleName ); p->SetSockName( ZNCSOCK ); + if ( HasReadLine() ) + p->EnableReadLine(); + return( p ); }