make plugin messages consistent with perl and tcl interface messages
This commit is contained in:
parent
285f004e52
commit
71681c889b
2
config.h
2
config.h
|
@ -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 "r1439"
|
#define PACKAGE_VERSION "r1439-1"
|
||||||
#define XCHATLIBDIR "."
|
#define XCHATLIBDIR "."
|
||||||
#define XCHATSHAREDIR "."
|
#define XCHATSHAREDIR "."
|
||||||
#define OLD_PERL
|
#define OLD_PERL
|
||||||
|
|
|
@ -305,7 +305,7 @@ xchat_plugin_deinit (xchat_plugin *plugin_handle)
|
||||||
Sleep (1000);
|
Sleep (1000);
|
||||||
}
|
}
|
||||||
|
|
||||||
xchat_print(ph, "DNS plugin unloaded successfully!\n");
|
xchat_print(ph, "DNS plugin unloaded\n");
|
||||||
return 1;
|
return 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -333,7 +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");
|
xchat_print(ph, "DNS plugin loaded\n");
|
||||||
|
|
||||||
return 1; /* return 1 for success */
|
return 1; /* return 1 for success */
|
||||||
}
|
}
|
||||||
|
|
|
@ -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 plugin loaded successfully!\n");
|
xchat_print(ph, "EasyWinampControl plugin loaded\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 plugin unloaded successfully!\n");
|
xchat_print(ph, "EasyWinampControl plugin unloaded\n");
|
||||||
return 1;
|
return 1;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue