remove const keywords for perl's sake

git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@1157 726aef4b-f618-498e-8847-2d620e286838
This commit is contained in:
imaginos
2008-08-17 18:02:09 +00:00
parent 03213ae279
commit 5fbc0aa538
+2 -2
View File
@@ -984,8 +984,8 @@ EXTERN_C void boot_DynaLoader (pTHX_ CV* cv);
bool CModPerl::OnLoad(const CString & sArgs, CString & sMessage)
{
const int iArgc = 5;
const char *pArgv[] = { "", "-e", "0", "-T", "-w", NULL };
int iArgc = 5;
char *pArgv[] = { "", "-e", "0", "-T", "-w", NULL };
PERL_SYS_INIT3( &iArgc, &pArgv, NULL );
m_pPerl = perl_alloc();
perl_construct(m_pPerl);