diff finch/plugins/gntgf.c @ 32233:1d09b9077181

Use purple_conv_chat_get_nick() rather than accessing chat->nick directly.
author andrew.victor@mxit.com
date Sat, 01 Oct 2011 11:02:15 +0000
parents 49a33bd1baf1
children
line wrap: on
line diff
--- a/finch/plugins/gntgf.c	Thu Sep 29 05:03:40 2011 +0000
+++ b/finch/plugins/gntgf.c	Sat Oct 01 11:02:15 2011 +0000
@@ -256,7 +256,7 @@
 	if (flags & PURPLE_MESSAGE_WHISPER)
 		return;
 
-	nick = PURPLE_CONV_CHAT(conv)->nick;
+	nick = purple_conv_chat_get_nick(PURPLE_CONV_CHAT(conv));
 
 	if (g_utf8_collate(sender, nick) == 0)
 		return;