Improve error message on module version mismatch

This commit is contained in:
Kevin Easton
2017-11-06 16:52:14 +11:00
parent ae4a45179e
commit 4b8ffbc52a

View File

@@ -953,7 +953,7 @@ BUILT_IN_COMMAND(dll_load)
else
{
if (code == INVALID_MODVERSION)
bitchsay("Error module version is wrong for [%s]", procname);
bitchsay("Module ABI version is wrong for [%s]. This likely means that the module needs to be recompiled.", procname);
else
bitchsay("Error initializing module [%s:%d]", procname, code);
if (handle)