summaryrefslogtreecommitdiff
path: root/protocols/Tox/src/tox_chatrooms.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'protocols/Tox/src/tox_chatrooms.cpp')
-rw-r--r--protocols/Tox/src/tox_chatrooms.cpp5
1 files changed, 0 insertions, 5 deletions
diff --git a/protocols/Tox/src/tox_chatrooms.cpp b/protocols/Tox/src/tox_chatrooms.cpp
index d4b134faed..deb0ad7f48 100644
--- a/protocols/Tox/src/tox_chatrooms.cpp
+++ b/protocols/Tox/src/tox_chatrooms.cpp
@@ -115,11 +115,6 @@ INT_PTR CToxProto::OnLeaveChatRoom(WPARAM hContact, LPARAM)
INT_PTR CToxProto::OnCreateChatRoom(WPARAM, LPARAM)
{
- if (!IsToxCoreInited())
- {
- return 1;
- }
-
ChatRoomInviteParam param = { this };
if (DialogBoxParam(