summaryrefslogtreecommitdiff
path: root/protocols/Omegle/src
diff options
context:
space:
mode:
Diffstat (limited to 'protocols/Omegle/src')
-rw-r--r--protocols/Omegle/src/proto.cpp26
-rw-r--r--protocols/Omegle/src/proto.h2
2 files changed, 2 insertions, 26 deletions
diff --git a/protocols/Omegle/src/proto.cpp b/protocols/Omegle/src/proto.cpp
index fd9b9d9dd2..f0ebd14717 100644
--- a/protocols/Omegle/src/proto.cpp
+++ b/protocols/Omegle/src/proto.cpp
@@ -84,8 +84,7 @@ OmegleProto::~OmegleProto( )
DWORD_PTR OmegleProto::GetCaps( int type, HANDLE hContact )
{
- switch(type)
- {
+ switch(type) {
case PFLAGNUM_1:
return PF1_CHAT;
case PFLAGNUM_2:
@@ -107,8 +106,7 @@ DWORD_PTR OmegleProto::GetCaps( int type, HANDLE hContact )
int OmegleProto::SetStatus( int new_status )
{
// Routing statuses not supported by Omegle
- switch ( new_status )
- {
+ switch ( new_status ) {
case ID_STATUS_OFFLINE:
case ID_STATUS_CONNECTING:
new_status = ID_STATUS_OFFLINE;
@@ -217,23 +215,3 @@ int OmegleProto::OnContactDeleted(WPARAM wparam,LPARAM)
OnLeaveChat(NULL, NULL);
return 0;
}
-
-
-//////////////////////////////////////////////////////////////////////////////
-// OTHER
-
-/*bool OmegleProto::IsMyContact(HANDLE hContact, bool include_chat)
-{
- const char *proto = reinterpret_cast<char*>(GetContactProto(
- reinterpret_cast<WPARAM>(hContact),0));
-
- if ( proto && strcmp(m_szModuleName,proto) == 0 )
- {
- if ( include_chat )
- return true;
- else
- return db_get_b(hContact,m_szModuleName,"ChatRoom",0) == 0;
- } else {
- return false;
- }
-}*/
diff --git a/protocols/Omegle/src/proto.h b/protocols/Omegle/src/proto.h
index 85b91bbcb8..5f376e680d 100644
--- a/protocols/Omegle/src/proto.h
+++ b/protocols/Omegle/src/proto.h
@@ -140,8 +140,6 @@ public:
HANDLE log_lock_;
HANDLE events_loop_lock_;
- HANDLE m_hNetlibUser;
-
static void CALLBACK APC_callback(ULONG_PTR p);
// Logging