summaryrefslogtreecommitdiff
path: root/protocols/Omegle/src/connection.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'protocols/Omegle/src/connection.cpp')
-rw-r--r--protocols/Omegle/src/connection.cpp5
1 files changed, 4 insertions, 1 deletions
diff --git a/protocols/Omegle/src/connection.cpp b/protocols/Omegle/src/connection.cpp
index 1ce07385d9..409b376a33 100644
--- a/protocols/Omegle/src/connection.cpp
+++ b/protocols/Omegle/src/connection.cpp
@@ -36,7 +36,10 @@ void OmegleProto::SignOn(void*)
setDword( "LogonTS", (DWORD)time(NULL));
ClearChat();
- OnJoinChat(0,false);
+ OnJoinChat(0,false);
+
+ if (getByte(OMEGLE_KEY_AUTO_CONNECT, 0))
+ NewChat();
//ToggleStatusMenuItems(true);
}