summaryrefslogtreecommitdiff
path: root/protocols/Twitter/src
diff options
context:
space:
mode:
Diffstat (limited to 'protocols/Twitter/src')
-rw-r--r--protocols/Twitter/src/chat.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/protocols/Twitter/src/chat.cpp b/protocols/Twitter/src/chat.cpp
index 733e4aacee..3ede02bae6 100644
--- a/protocols/Twitter/src/chat.cpp
+++ b/protocols/Twitter/src/chat.cpp
@@ -62,14 +62,14 @@ int CTwitterProto::OnChatOutgoing(WPARAM, LPARAM lParam)
break;
case GC_USER_PRIVMESS:
- {
- ptrA text(mir_u2a(hook->ptszUID));
- CallService(MS_MSG_SENDMESSAGE, WPARAM(UsernameToHContact(text)), 0);
- }
- break;
+ {
+ ptrA text(mir_u2a(hook->ptszUID));
+ CallService(MS_MSG_SENDMESSAGE, UsernameToHContact(text), 0);
+ }
+ break;
}
- return 0;
+ return 1;
}
// TODO: remove nick?