From 57373d7b3a13cd70a04dcfe427a6cf9d104c1c7e Mon Sep 17 00:00:00 2001 From: "berkeviktor@aol.com" Date: Sat, 29 May 2010 16:20:22 +0200 Subject: add notification messages for DNS plugin --- plugins/dns/plugin-dns.c | 4 ++++ plugins/ewc/ewc.c | 4 ++-- 2 files changed, 6 insertions(+), 2 deletions(-) (limited to 'plugins') 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; } -- cgit 1.4.1