1
0
mirror of https://github.com/moparisthebest/hexchat synced 2024-11-22 17:22:18 -05:00

add notification messages for DNS plugin

This commit is contained in:
berkeviktor@aol.com 2010-05-29 16:20:22 +02:00
parent 97b048ca41
commit 57373d7b3a
3 changed files with 7 additions and 3 deletions

View File

@ -3,7 +3,7 @@
#define USE_GMODULE #define USE_GMODULE
#define USE_PLUGIN #define USE_PLUGIN
#define PACKAGE_NAME "xchat" #define PACKAGE_NAME "xchat"
#define PACKAGE_VERSION "r1431-4" #define PACKAGE_VERSION "r1431-5"
#define XCHATLIBDIR "." #define XCHATLIBDIR "."
#define XCHATSHAREDIR "." #define XCHATSHAREDIR "."
#define OLD_PERL #define OLD_PERL

View File

@ -304,6 +304,8 @@ xchat_plugin_deinit (xchat_plugin *plugin_handle)
{ {
Sleep (1000); Sleep (1000);
} }
xchat_print(ph, "DNS plugin unloaded successfully!\n");
return 1; return 1;
} }
@ -331,5 +333,7 @@ xchat_plugin_init
xchat_hook_command(ph, "DNS", XCHAT_PRI_LOW, dns_cmd_cb, HELP, 0); 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 */ return 1; /* return 1 for success */
} }

View File

@ -219,13 +219,13 @@ int xchat_plugin_init(xchat_plugin *plugin_handle,
xchat_hook_command(ph, "wcmd", XCHAT_PRI_NORM, wcmd_cb, xchat_hook_command(ph, "wcmd", XCHAT_PRI_NORM, wcmd_cb,
"Usage: wcmd [play|pause|stop|prev|next]", 0); "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 */ return 1; /* return 1 for success */
} }
int xchat_plugin_deinit(void) 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; return 1;
} }