summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--util/xchatd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/util/xchatd.c b/util/xchatd.c
index c9d2f9b6..862ecf2c 100644
--- a/util/xchatd.c
+++ b/util/xchatd.c
@@ -772,7 +772,7 @@ exit_room(user, mode, msg)
send_to_room(room, chatbuf, 0, MSG_MESSAGE);
if (list_belong(room->invite, user->userno)) {
- list_delete(room->invite, user->userno);
+ list_delete(&(room->invite), user->userno);
}
sprintf(chatbuf, "- %s", user->userid);