some cosmetics
This commit is contained in:
parent
3c72823b01
commit
dbf5040833
|
@ -135,8 +135,8 @@ xchat_plugin_init (xchat_plugin *plugin_handle, char **plugin_name, char **plugi
|
||||||
*plugin_desc = "Calculate checksum for DCC file transfers";
|
*plugin_desc = "Calculate checksum for DCC file transfers";
|
||||||
*plugin_version = "1.1";
|
*plugin_version = "1.1";
|
||||||
|
|
||||||
xchat_hook_print(ph, "DCC RECV Complete", XCHAT_PRI_NORM, dccrecv_cb, NULL);
|
xchat_hook_print (ph, "DCC RECV Complete", XCHAT_PRI_NORM, dccrecv_cb, NULL);
|
||||||
xchat_hook_print(ph, "DCC Offer", XCHAT_PRI_NORM, dccoffer_cb, NULL);
|
xchat_hook_print (ph, "DCC Offer", XCHAT_PRI_NORM, dccoffer_cb, NULL);
|
||||||
|
|
||||||
xchat_print (ph, "Checksum plugin loaded\n");
|
xchat_print (ph, "Checksum plugin loaded\n");
|
||||||
|
|
||||||
|
|
|
@ -107,7 +107,7 @@ xchat_plugin_init (xchat_plugin *plugin_handle, char **plugin_name, char **plugi
|
||||||
int
|
int
|
||||||
xchat_plugin_deinit (void)
|
xchat_plugin_deinit (void)
|
||||||
{
|
{
|
||||||
xchat_command(ph, "MENU DEL \"Help/Check for updates\"");
|
xchat_command (ph, "MENU DEL \"Help/Check for updates\"");
|
||||||
xchat_print (ph, "Update Checker plugin unloaded\n");
|
xchat_print (ph, "Update Checker plugin unloaded\n");
|
||||||
return 1;
|
return 1;
|
||||||
}
|
}
|
||||||
|
|
|
@ -170,17 +170,17 @@ int xchat_plugin_init(xchat_plugin *plugin_handle,
|
||||||
*plugin_desc = "Winamp plugin for XChat";
|
*plugin_desc = "Winamp plugin for XChat";
|
||||||
*plugin_version = "0.5";
|
*plugin_version = "0.5";
|
||||||
|
|
||||||
xchat_hook_command(ph, "WINAMP", XCHAT_PRI_NORM, winamp, "Usage: /WINAMP [PAUSE|PLAY|STOP|NEXT|PREV|START] - control Winamp or show what's currently playing", 0);
|
xchat_hook_command (ph, "WINAMP", XCHAT_PRI_NORM, winamp, "Usage: /WINAMP [PAUSE|PLAY|STOP|NEXT|PREV|START] - control Winamp or show what's currently playing", 0);
|
||||||
xchat_command (ph, "MENU -ietc\\music.png ADD \"Window/Display current song\" \"WINAMP\"");
|
xchat_command (ph, "MENU -ietc\\music.png ADD \"Window/Display current song\" \"WINAMP\"");
|
||||||
|
|
||||||
xchat_print(ph, "Winamp plugin loaded\n");
|
xchat_print (ph, "Winamp 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_command(ph, "MENU DEL \"Window/Display current song\"");
|
xchat_command (ph, "MENU DEL \"Window/Display current song\"");
|
||||||
xchat_print(ph, "Winamp plugin unloaded\n");
|
xchat_print (ph, "Winamp plugin unloaded\n");
|
||||||
return 1;
|
return 1;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue