fix for groupinv acceptance

if the inviter disconnects before you accept the invite the script borks
out.
fixed now :)