mirror of
https://github.com/znc/znc.git
synced 2026-03-28 17:42:41 +01:00
Fix error message about wrong module type.
Regression from 1.6
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user