changeset 2249:bbed6973987a

Use the right union member
author franky
date Sat, 13 Feb 2016 13:34:32 +0100
parents 377b6a52b25f
children df5837a72b35
files mcabber/mcabber/commands.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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);