summaryrefslogtreecommitdiff
path: root/protocols/IcqOscarJ/src/tlv.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'protocols/IcqOscarJ/src/tlv.cpp')
-rw-r--r--protocols/IcqOscarJ/src/tlv.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/protocols/IcqOscarJ/src/tlv.cpp b/protocols/IcqOscarJ/src/tlv.cpp
index d928e01205..1f395c6e63 100644
--- a/protocols/IcqOscarJ/src/tlv.cpp
+++ b/protocols/IcqOscarJ/src/tlv.cpp
@@ -221,9 +221,9 @@ int oscar_tlv_chain::getNumber(WORD wType, WORD wIndex)
if (tlv) {
if (tlv->wLen == 1)
return getByte(wType, wIndex);
- else if (tlv->wLen == 2)
+ if (tlv->wLen == 2)
return getWord(wType, wIndex);
- else if (tlv->wLen == 4)
+ if (tlv->wLen == 4)
return getDWord(wType, wIndex);
}
return 0;