some cosmetics

This commit is contained in:
berkeviktor@aol.com 2010-10-21 04:00:16 +02:00
parent 3c72823b01
commit dbf5040833
3 changed files with 7 additions and 7 deletions

View File

@ -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");

View File

@ -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;
} }

View File

@ -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;
} }