diff options
-rw-r--r-- | util/xchatd.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/util/xchatd.c b/util/xchatd.c index 906bded0..c9d2f9b6 100644 --- a/util/xchatd.c +++ b/util/xchatd.c @@ -771,6 +771,10 @@ exit_room(user, mode, msg) if (!CLOAK(user)) /* Thor: 聊天室隱身術 */ send_to_room(room, chatbuf, 0, MSG_MESSAGE); + if (list_belong(room->invite, user->userno)) { + list_delete(room->invite, user->userno); + } + sprintf(chatbuf, "- %s", user->userid); send_to_room(room, chatbuf, 0, MSG_USERNOTIFY); room_changed(room); @@ -1283,7 +1287,7 @@ chat_setroom(cu, msg) break; case 'h': case 'H': - flag = ROOM_OPENTOPIC; + flag = ROOM_HANDUP; fstr = "舉手發言"; break; |