From 57373d7b3a13cd70a04dcfe427a6cf9d104c1c7e Mon Sep 17 00:00:00 2001 From: "berkeviktor@aol.com" Date: Sat, 29 May 2010 16:20:22 +0200 Subject: [PATCH] add notification messages for DNS plugin --- config.h | 2 +- plugins/dns/plugin-dns.c | 4 ++++ plugins/ewc/ewc.c | 4 ++-- 3 files changed, 7 insertions(+), 3 deletions(-) diff --git a/config.h b/config.h index 50b97d2c..952dca1c 100644 --- a/config.h +++ b/config.h @@ -3,7 +3,7 @@ #define USE_GMODULE #define USE_PLUGIN #define PACKAGE_NAME "xchat" -#define PACKAGE_VERSION "r1431-4" +#define PACKAGE_VERSION "r1431-5" #define XCHATLIBDIR "." #define XCHATSHAREDIR "." #define OLD_PERL diff --git a/plugins/dns/plugin-dns.c b/plugins/dns/plugin-dns.c index fdefd490..44d53691 100644 --- a/plugins/dns/plugin-dns.c +++ b/plugins/dns/plugin-dns.c @@ -304,6 +304,8 @@ xchat_plugin_deinit (xchat_plugin *plugin_handle) { Sleep (1000); } + + xchat_print(ph, "DNS plugin unloaded successfully!\n"); return 1; } @@ -331,5 +333,7 @@ xchat_plugin_init xchat_hook_command(ph, "DNS", XCHAT_PRI_LOW, dns_cmd_cb, HELP, 0); + xchat_print(ph, "DNS plugin loaded successfully!\n"); + return 1; /* return 1 for success */ } diff --git a/plugins/ewc/ewc.c b/plugins/ewc/ewc.c index ff9d776a..e28f9673 100644 --- a/plugins/ewc/ewc.c +++ b/plugins/ewc/ewc.c @@ -219,13 +219,13 @@ int xchat_plugin_init(xchat_plugin *plugin_handle, xchat_hook_command(ph, "wcmd", XCHAT_PRI_NORM, wcmd_cb, "Usage: wcmd [play|pause|stop|prev|next]", 0); - xchat_print(ph, "EasyWinampControl 1.2 plugin loaded successfully!\n"); + xchat_print(ph, "EasyWinampControl plugin loaded successfully!\n"); return 1; /* return 1 for success */ } int xchat_plugin_deinit(void) { - xchat_print(ph, "EasyWinampControl 1.2 plugin unloaded successfully!\n"); + xchat_print(ph, "EasyWinampControl plugin unloaded successfully!\n"); return 1; }