summaryrefslogtreecommitdiff
path: root/protocols/JabberG/src/jabber_groupchat.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'protocols/JabberG/src/jabber_groupchat.cpp')
-rw-r--r--protocols/JabberG/src/jabber_groupchat.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/protocols/JabberG/src/jabber_groupchat.cpp b/protocols/JabberG/src/jabber_groupchat.cpp
index 2039f4f253..82147b8d1a 100644
--- a/protocols/JabberG/src/jabber_groupchat.cpp
+++ b/protocols/JabberG/src/jabber_groupchat.cpp
@@ -1143,10 +1143,10 @@ void CJabberProto::GroupchatProcessInvite(const char *roomJid, const char *from,
if (ListGetItemPtr(LIST_CHATROOM, roomJid))
return;
- if (m_bAutoAcceptMUC) {
+ if (m_bAutoAcceptMUC)
AcceptGroupchatInvite(roomJid, MyNick(), password);
- }
- else CallFunctionAsync(sttShowDialog, new CGroupchatInviteAcceptDlg(this, roomJid, from, reason, password));
+ else
+ CallFunctionAsync(sttShowDialog, new CGroupchatInviteAcceptDlg(this, roomJid, from, reason, password));
}
void CJabberProto::AcceptGroupchatInvite(const char *roomJid, const char *reason, const char *password)