Mercurial > ~mikael > mcabber > hg
comparison mcabber/mcabber/commands.c @ 2249:bbed6973987a
Use the right union member
author | franky |
---|---|
date | Sat, 13 Feb 2016 13:34:32 +0100 |
parents | ee3a40ffcd8b |
children | b79a34e21076 |
comparison
equal
deleted
inserted
replaced
2248:377b6a52b25f | 2249:bbed6973987a |
---|---|
2830 free_arg_lst(paramlst); | 2830 free_arg_lst(paramlst); |
2831 return; | 2831 return; |
2832 } | 2832 } |
2833 | 2833 |
2834 ra.type = type_role; | 2834 ra.type = type_role; |
2835 ra.val.affil = role_none; | 2835 ra.val.role = role_none; |
2836 | 2836 |
2837 nick_utf8 = to_utf8(nick); | 2837 nick_utf8 = to_utf8(nick); |
2838 reason_utf8 = to_utf8(arg); | 2838 reason_utf8 = to_utf8(arg); |
2839 xmpp_room_setattrib(roomid, NULL, nick_utf8, ra, reason_utf8); | 2839 xmpp_room_setattrib(roomid, NULL, nick_utf8, ra, reason_utf8); |
2840 g_free(nick_utf8); | 2840 g_free(nick_utf8); |