diff options
author | George Hazan <george.hazan@gmail.com> | 2013-07-28 11:05:10 +0000 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2013-07-28 11:05:10 +0000 |
commit | 90c2f2a24e911c832e11fcc6443afd24efdd4cc9 (patch) | |
tree | 719972a0755925073ab6aeb7aa24e92eed5b1427 /protocols/Omegle/src | |
parent | f302909f341c5bf61bcb432d73443df6c3ba44c9 (diff) |
- 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
Diffstat (limited to 'protocols/Omegle/src')
-rw-r--r-- | protocols/Omegle/src/proto.cpp | 10 |
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];
|