summaryrefslogtreecommitdiff
path: root/protocols/IcqOscarJ/src/icq_direct.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'protocols/IcqOscarJ/src/icq_direct.cpp')
-rw-r--r--protocols/IcqOscarJ/src/icq_direct.cpp10
1 files changed, 1 insertions, 9 deletions
diff --git a/protocols/IcqOscarJ/src/icq_direct.cpp b/protocols/IcqOscarJ/src/icq_direct.cpp
index 075f07122c..69a610f1b4 100644
--- a/protocols/IcqOscarJ/src/icq_direct.cpp
+++ b/protocols/IcqOscarJ/src/icq_direct.cpp
@@ -824,23 +824,15 @@ void EncryptDirectPacket(directconnect* dc, icq_packet* p)
unsigned long hex;
unsigned long size = p->wLen - 1;
-
if (dc->wVersion < 4)
return; // no encryption necessary.
-
- switch (dc->wVersion)
- {
+ switch (dc->wVersion) {
case 4:
case 5:
offset = 6;
break;
- case 6:
- case 7:
- case 8:
- case 9:
- case 10:
default:
offset = 0;
}