diff options
author | Berke Viktor <bviktor@hexchat.org> | 2012-10-30 08:42:48 +0100 |
---|---|---|
committer | Berke Viktor <bviktor@hexchat.org> | 2012-10-30 08:42:48 +0100 |
commit | e681eafa78262d0c177832d67900687f2c938081 (patch) | |
tree | 5668476e046c505b9f3fcc8c53b6e0971c146978 /plugins/mailcheck | |
parent | 97dc13fde70810abf07985f45ac459560eae6e96 (diff) |
Rebranding for the rest of plugin*
Diffstat (limited to 'plugins/mailcheck')
-rw-r--r-- | plugins/mailcheck/mailcheck.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/plugins/mailcheck/mailcheck.c b/plugins/mailcheck/mailcheck.c index fb507539..fcd3a7c9 100644 --- a/plugins/mailcheck/mailcheck.c +++ b/plugins/mailcheck/mailcheck.c @@ -10,7 +10,7 @@ #include "hexchat-plugin.h" -static xchat_plugin *ph; /* plugin handle */ +static hexchat_plugin *ph; /* plugin handle */ static int mail_items(char *file) @@ -63,7 +63,7 @@ xchat_mail_check (void) if(size > last_size) { - xchat_printf(ph, + hexchat_printf(ph, "-\0033-\0039-\017\tYou have new mail (%d messages, %d bytes total).", mail_items(maildir), size); } @@ -78,7 +78,7 @@ static int timeout_cb(void *userdata) return 1; } -int xchat_plugin_init(xchat_plugin *plugin_handle, +int hexchat_plugin_init(hexchat_plugin *plugin_handle, char **plugin_name, char **plugin_desc, char **plugin_version, char *arg) { @@ -88,7 +88,7 @@ int xchat_plugin_init(xchat_plugin *plugin_handle, *plugin_desc = "Checks your mailbox every 30 seconds"; *plugin_version = "0.1"; - xchat_hook_timer(ph, 30000, timeout_cb, 0); + hexchat_hook_timer(ph, 30000, timeout_cb, 0); return 1; } |