Fix modperl's list of available modules.

Commit 8bb7ea5370 broke it.
This commit is contained in:
Alexey Sokolov
2012-08-26 10:15:31 +07:00
parent ee8f0b0958
commit dcf105a517

View File

@@ -208,7 +208,7 @@ public:
PUSH_STR(sName);
PUSH_PTR(CModInfo*, &ModInfo);
PCALL("ZNC::Core::ModInfoByPath");
if (!SvTRUE(ERRSV) && ret == 2) {
if (!SvTRUE(ERRSV)) {
ssMods.insert(ModInfo);
}
PEND;