aboutsummaryrefslogtreecommitdiffstats
path: root/protocols/nogaim.c
diff options
context:
space:
mode:
Diffstat (limited to 'protocols/nogaim.c')
-rw-r--r--protocols/nogaim.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/protocols/nogaim.c b/protocols/nogaim.c
index 0998291b..c23b0a3a 100644
--- a/protocols/nogaim.c
+++ b/protocols/nogaim.c
@@ -427,6 +427,9 @@ void imcb_buddy_nick_hint( struct im_connection *ic, const char *handle, const c
if( !bu || !nick ) return;
+ g_free( bu->nick );
+ bu->nick = g_strdup( nick );
+
if( bee->ui->user_nick_hint )
bee->ui->user_nick_hint( bee, bu, nick );
}