Skip to content
Browse files

Fix modperl's list of available modules.

Commit 8bb7ea5 broke it.
  • Loading branch information...
1 parent ee8f0b0 commit dcf105a517fe39ec565725357c7c071df2e050e4 @DarthGandalf DarthGandalf committed Aug 26, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 modules/modperl.cpp
View
2 modules/modperl.cpp
@@ -208,7 +208,7 @@ class CModPerl: public CModule {
PUSH_STR(sName);
PUSH_PTR(CModInfo*, &ModInfo);
PCALL("ZNC::Core::ModInfoByPath");
- if (!SvTRUE(ERRSV) && ret == 2) {
+ if (!SvTRUE(ERRSV)) {
ssMods.insert(ModInfo);
}
PEND;

0 comments on commit dcf105a

Please sign in to comment.
Something went wrong with that request. Please try again.