summaryrefslogtreecommitdiff
path: root/protocols/Omegle/src/proto.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'protocols/Omegle/src/proto.cpp')
-rw-r--r--protocols/Omegle/src/proto.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/protocols/Omegle/src/proto.cpp b/protocols/Omegle/src/proto.cpp
index 839b0d549d..c6f0bef34a 100644
--- a/protocols/Omegle/src/proto.cpp
+++ b/protocols/Omegle/src/proto.cpp
@@ -33,13 +33,13 @@ OmegleProto::OmegleProto(const char* proto_name, const TCHAR* username) :
this->facy.connection_lock_ = CreateMutex( NULL, FALSE, NULL );
// Group chats
- CreateService(PS_JOINCHAT, &OmegleProto::OnJoinChat);
- CreateService(PS_LEAVECHAT, &OmegleProto::OnLeaveChat);
+ CreateProtoService(PS_JOINCHAT, &OmegleProto::OnJoinChat);
+ CreateProtoService(PS_LEAVECHAT, &OmegleProto::OnLeaveChat);
- CreateService(PS_CREATEACCMGRUI, &OmegleProto::SvcCreateAccMgrUI);
+ CreateProtoService(PS_CREATEACCMGRUI, &OmegleProto::SvcCreateAccMgrUI);
- HookEvent(ME_OPT_INITIALISE, &OmegleProto::OnOptionsInit);
- HookEvent(ME_GC_EVENT, &OmegleProto::OnChatEvent);
+ HookProtoEvent(ME_OPT_INITIALISE, &OmegleProto::OnOptionsInit);
+ HookProtoEvent(ME_GC_EVENT, &OmegleProto::OnChatEvent);
// Create standard network connection
TCHAR descr[512];