mirror of
https://github.com/irssi/irssi.git
synced 2026-08-24 11:02:21 +02:00
module check irssi version
Add explicit checks into every module to match the Irssi version date.
This commit is contained in:
parent
0ca0c882a5
commit
0f01ed0de3
8 changed files with 56 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);
|
||||
|
|
@ -99,6 +103,7 @@ static int module_list_sub(MODULE_REC *module, int mark_type,
|
|||
return all_dynamic;
|
||||
}
|
||||
|
||||
|
||||
static void cmd_load_list(void)
|
||||
{
|
||||
GSList *tmp;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue