summary refs log tree commit diff stats
path: root/plugins/fishlim/plugin_hexchat.c
diff options
context:
space:
mode:
authorTingPing <tingping@tingping.se>2014-12-12 05:15:49 -0500
committerTingPing <tingping@tingping.se>2014-12-15 15:06:48 -0500
commitbdb5c3eb9ddafff656953ff048b6b3bbb3234181 (patch)
tree2d4bd22eb6bfe4b7527bbd464d6f528052e17b84 /plugins/fishlim/plugin_hexchat.c
parentc54a0c6db93b3fc2c6d749b79221a8d26d8afbd7 (diff)
fishlim: Use hexchat_nickcmp()
Diffstat (limited to 'plugins/fishlim/plugin_hexchat.c')
-rw-r--r--plugins/fishlim/plugin_hexchat.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/plugins/fishlim/plugin_hexchat.c b/plugins/fishlim/plugin_hexchat.c
index 8f2536ce..0219e5fa 100644
--- a/plugins/fishlim/plugin_hexchat.c
+++ b/plugins/fishlim/plugin_hexchat.c
@@ -55,6 +55,10 @@ gchar *get_config_filename() {
     return g_build_filename(hexchat_get_info(ph, "configdir"), "addon_fishlim.conf", NULL);
 }
 
+int irc_nick_cmp(const char *a, const char *b) {
+	return hexchat_nickcmp (ph, a, b);
+}
+
 /*static int handle_debug(char *word[], char *word_eol[], void *userdata) {
     hexchat_printf(ph, "debug incoming: ");
     for (size_t i = 1; word[i] != NULL && word[i][0] != '\0'; i++) {