summaryrefslogtreecommitdiff
path: root/protocols
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2012-10-22 13:04:15 +0000
committerGeorge Hazan <george.hazan@gmail.com>2012-10-22 13:04:15 +0000
commit7fb6cc1034f220d789b3889e069a01841f9efcae (patch)
treea9769b68251bced5552291dd5c4f551f1ad124e6 /protocols
parenteacd84efa1666b3afc4c98e632fa3bb4289a43c2 (diff)
ISO code added to the country list
git-svn-id: http://svn.miranda-ng.org/main/trunk@2042 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols')
-rw-r--r--protocols/MSN/src/msn_proto.cpp8
1 files changed, 3 insertions, 5 deletions
diff --git a/protocols/MSN/src/msn_proto.cpp b/protocols/MSN/src/msn_proto.cpp
index 41fe2f09e5..7dfceb6f53 100644
--- a/protocols/MSN/src/msn_proto.cpp
+++ b/protocols/MSN/src/msn_proto.cpp
@@ -716,14 +716,12 @@ HANDLE __cdecl CMsnProto::GetAwayMsg(HANDLE hContact)
DWORD_PTR __cdecl CMsnProto::GetCaps(int type, HANDLE hContact)
{
- switch(type)
- {
+ switch(type) {
case PFLAGNUM_1:
- { int result = PF1_IM | PF1_SERVERCLIST | PF1_AUTHREQ | PF1_BASICSEARCH |
+ return PF1_IM | PF1_SERVERCLIST | PF1_AUTHREQ | PF1_BASICSEARCH |
PF1_ADDSEARCHRES | PF1_CHAT |
PF1_FILESEND | PF1_FILERECV | PF1_URLRECV | PF1_VISLIST | PF1_MODEMSG;
- return result;
- }
+
case PFLAGNUM_2:
return PF2_ONLINE | PF2_SHORTAWAY | PF2_LIGHTDND | PF2_INVISIBLE | PF2_ONTHEPHONE | PF2_IDLE;