Use the right union member
authorfranky
Sat, 13 Feb 2016 13:34:32 +0100
changeset 2249 bbed6973987a
parent 2248 377b6a52b25f
child 2250 df5837a72b35
Use the right union member
mcabber/mcabber/commands.c
--- a/mcabber/mcabber/commands.c	Sat Feb 13 11:05:07 2016 +0100
+++ b/mcabber/mcabber/commands.c	Sat Feb 13 13:34:32 2016 +0100
@@ -2832,7 +2832,7 @@
   }
 
   ra.type = type_role;
-  ra.val.affil = role_none;
+  ra.val.role = role_none;
 
   nick_utf8 = to_utf8(nick);
   reason_utf8 = to_utf8(arg);