1
0
mirror of https://github.com/weechat/weechat.git synced 2026-07-03 00:03:12 +02:00

Check plugin version when loading it, to prevent crash when loading old plugins

This commit is contained in:
Sebastien Helleu
2008-03-23 11:41:09 +01:00
parent 61ca929728
commit d9a4bdf629
40 changed files with 289 additions and 127 deletions
+3 -1
View File
@@ -18,6 +18,7 @@
/* weechat-trigger.c: Trigger plugin for WeeChat */
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
@@ -31,7 +32,8 @@
WEECHAT_PLUGIN_NAME("trigger");
WEECHAT_PLUGIN_DESCRIPTION("Trigger plugin for WeeChat");
WEECHAT_PLUGIN_AUTHOR("FlashCode <flashcode@flashtux.org>");
WEECHAT_PLUGIN_VERSION("0.1");
WEECHAT_PLUGIN_VERSION(WEECHAT_VERSION);
WEECHAT_PLUGIN_WEECHAT_VERSION(WEECHAT_VERSION);
WEECHAT_PLUGIN_LICENSE("GPL");
t_weechat_trigger *weechat_trigger_list = NULL;