From 90c2f2a24e911c832e11fcc6443afd24efdd4cc9 Mon Sep 17 00:00:00 2001 From: George Hazan Date: Sun, 28 Jul 2013 11:05:10 +0000 Subject: - fix for name conflict in proto helpers; - switch to constants defined in m_nudge.h git-svn-id: http://svn.miranda-ng.org/main/trunk@5504 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- protocols/Omegle/src/proto.cpp | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'protocols/Omegle/src') 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]; -- cgit v1.2.3