summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/core/wee-config-file.c11
1 files changed, 11 insertions, 0 deletions
diff --git a/src/core/wee-config-file.c b/src/core/wee-config-file.c
index 4c6b7ca81..3448e4a32 100644
--- a/src/core/wee-config-file.c
+++ b/src/core/wee-config-file.c
@@ -3515,6 +3515,17 @@ config_file_read_internal (struct t_config_file *config_file, int reload)
else
{
config_file->version_read = version;
+ if (config_file->version_read > config_file->version)
+ {
+ gui_chat_printf (NULL,
+ _("%sWarning: %s, version read (%d) is "
+ "newer than supported version (%d), "
+ "options may be broken!"),
+ gui_chat_prefix[GUI_CHAT_PREFIX_ERROR],
+ filename,
+ config_file->version_read,
+ config_file->version);
+ }
}
continue;
}