summaryrefslogtreecommitdiff
path: root/protocols/Omegle/src/connection.cpp
diff options
context:
space:
mode:
authorRobert Pösel <robyer@seznam.cz>2013-03-08 10:39:54 +0000
committerRobert Pösel <robyer@seznam.cz>2013-03-08 10:39:54 +0000
commit7f1ee85eb7f34b57a5354d8cea91495742145f58 (patch)
treeace9a5a0f8808e1ce978f89591958365f27e9347 /protocols/Omegle/src/connection.cpp
parentab00e50d6793f56e8e6b7f1a352a954f8b933b3b (diff)
Omegle:
- Added option to automatically connect to stranger when protocol is turned online - Updated readme - Version bump git-svn-id: http://svn.miranda-ng.org/main/trunk@3912 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
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);
}