Fix error message about wrong module type.

Regression from 1.6
This commit is contained in:
Alexey Sokolov
2018-05-28 21:21:07 +01:00
parent 255fc53cad
commit 0cbe9d783d

View File

@@ -1656,7 +1656,7 @@ bool CModules::LoadModule(const CString& sModule, const CString& sArgs,
if (!Info.SupportsType(eType)) {
dlclose(p);
sRetMsg = t_f("Module {1} does not support module type {1}.")(
sRetMsg = t_f("Module {1} does not support module type {2}.")(
sModule, CModInfo::ModuleTypeToString(eType));
return false;
}