Fix modp{erl,ython}, these modules should set a "default" module type for its submodules

These modules were broken by d48ae679c4
This commit is contained in:
Kyle Fuller
2011-08-30 20:50:06 +00:00
parent 9006fecf08
commit e70b6854a3
2 changed files with 3 additions and 0 deletions
+1
View File
@@ -148,6 +148,7 @@ public:
case Perl_Loaded:
result = HALT;
if (4 == ret) {
ModInfo.SetDefaultType(CModInfo::UserModule);
ModInfo.AddType(CModInfo::UserModule);
ModInfo.SetDescription(PString(ST(2)));
ModInfo.SetName(sModule);