mirror of
https://github.com/znc/znc.git
synced 2026-08-11 03:12:50 +02:00
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:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user