mirror of
https://github.com/irssi/irssi.git
synced 2026-08-11 04:43:34 +02:00
module check irssi version
Add explicit checks into every module to match the ABI version defined in common.h
This commit is contained in:
parent
4dc2bab4b4
commit
ff8ccaf08b
10 changed files with 58 additions and 1 deletions
|
|
@ -43,6 +43,10 @@ static void sig_module_error(void *number, const char *data,
|
|||
printformat(NULL, NULL, MSGLEVEL_CLIENTERROR,
|
||||
TXT_MODULE_LOAD_ERROR, rootmodule, submodule, data);
|
||||
break;
|
||||
case MODULE_ERROR_VERSION_MISMATCH:
|
||||
printformat(NULL, NULL, MSGLEVEL_CLIENTERROR,
|
||||
TXT_MODULE_VERSION_MISMATCH, rootmodule, submodule, data);
|
||||
break;
|
||||
case MODULE_ERROR_INVALID:
|
||||
printformat(NULL, NULL, MSGLEVEL_CLIENTERROR,
|
||||
TXT_MODULE_INVALID, rootmodule, submodule);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue