diff options
author | George Hazan <george.hazan@gmail.com> | 2013-09-02 18:14:23 +0000 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2013-09-02 18:14:23 +0000 |
commit | 24b5afcde7cfe2a274cf64008a867189a89c7fea (patch) | |
tree | 8d22d602df8662c86cf469012fb47d0dbd9daa62 /protocols/MRA/src/Mra_proto.cpp | |
parent | 53b1b8e2ec83e13c5c7f7d87cd0da87313a3c8ec (diff) |
MRA: fix for setting MirVer
git-svn-id: http://svn.miranda-ng.org/main/trunk@5903 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/MRA/src/Mra_proto.cpp')
-rw-r--r-- | protocols/MRA/src/Mra_proto.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/protocols/MRA/src/Mra_proto.cpp b/protocols/MRA/src/Mra_proto.cpp index 3acf1035f2..26f1aceb66 100644 --- a/protocols/MRA/src/Mra_proto.cpp +++ b/protocols/MRA/src/Mra_proto.cpp @@ -1340,7 +1340,7 @@ bool CMraProto::CmdClist2(BinBuffer &buf) SetExtraIcons(hContact);
if (dwTemp != ID_STATUS_OFFLINE) { // пишем клиента только если юзер не отключён, иначе не затираем старое
- if (szUserAgentFormatted.GetLength()) {
+ if ( !szUserAgentFormatted.IsEmpty()) {
if (getByte("MirVerRaw", MRA_DEFAULT_MIRVER_RAW) == FALSE)
szUserAgentFormatted = MraGetVersionStringFromFormatted(szUserAgentFormatted);
}
|