summaryrefslogtreecommitdiff
path: root/protocols/IcqOscarJ
diff options
context:
space:
mode:
authordartraiden <wowemuh@gmail.com>2016-11-26 03:51:24 +0300
committerdartraiden <wowemuh@gmail.com>2016-11-26 03:51:24 +0300
commitc1c27b8d18d8810bd621ab6ca22616fb59f2fff3 (patch)
tree95496d1851ad63fc74c271a0610a15a8ffda2746 /protocols/IcqOscarJ
parent3fe85f87686c30188f0cd4dd93807175bbede203 (diff)
useless "if": identical "if" with identical condition already exists slightly above
Diffstat (limited to 'protocols/IcqOscarJ')
-rw-r--r--protocols/IcqOscarJ/src/icq_direct.cpp3
1 files changed, 0 insertions, 3 deletions
diff --git a/protocols/IcqOscarJ/src/icq_direct.cpp b/protocols/IcqOscarJ/src/icq_direct.cpp
index 0cc7a372ea..59cc9bc35b 100644
--- a/protocols/IcqOscarJ/src/icq_direct.cpp
+++ b/protocols/IcqOscarJ/src/icq_direct.cpp
@@ -774,9 +774,6 @@ int DecryptDirectPacket(directconnect* dc, PBYTE buf, size_t wLen)
if (size < 4)
return 1;
- if (dc->wVersion < 4)
- return 1;
-
// backup the first 6 bytes
unsigned long offset = (dc->wVersion == 4 || dc->wVersion == 5) ? 6 : 0;
if (offset)