Fix modperl. It didn't work.

git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@2143 726aef4b-f618-498e-8847-2d620e286838
This commit is contained in:
darthgandalf
2010-09-27 13:08:07 +00:00
parent fa8f758c7b
commit 9fe92c3725
+1 -1
View File
@@ -112,7 +112,7 @@ sub GetModInfo {
return ($ZNC::Perl_LoadError, "Incorrect perl module.") unless IsModule $modpath, $modname;
require $modpath;
my $pmod = bless {}, $modname;
return ($ZNC::Perl_Loaded, $modpath->GetPerlStr, $pmod->description)
return ($ZNC::Perl_Loaded, $modpath, $pmod->description)
}
sub ModInfoByPath {