summaryrefslogtreecommitdiff
path: root/protocols/Xfire/src/sendmessagepacket.cpp
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2014-01-02 11:42:34 +0000
committerGeorge Hazan <george.hazan@gmail.com>2014-01-02 11:42:34 +0000
commit517284b80db96b58ea68d7ba974345dc5a2236bb (patch)
tree4f179d2c825378aefced9008bd06857de1486db6 /protocols/Xfire/src/sendmessagepacket.cpp
parentc0d3c16aab5f5f52ede1f49ffeeafce98e3d073d (diff)
fix for extra icons in XFire
git-svn-id: http://svn.miranda-ng.org/main/trunk@7453 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/Xfire/src/sendmessagepacket.cpp')
-rw-r--r--protocols/Xfire/src/sendmessagepacket.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/protocols/Xfire/src/sendmessagepacket.cpp b/protocols/Xfire/src/sendmessagepacket.cpp
index 4559b7609c..a0ca1400e1 100644
--- a/protocols/Xfire/src/sendmessagepacket.cpp
+++ b/protocols/Xfire/src/sendmessagepacket.cpp
@@ -41,7 +41,7 @@ namespace xfirelib {
void SendMessagePacket::init(Client *client, string username, string message) {
BuddyListEntry *entry = client->getBuddyList()->getBuddyByName(username);
- if(entry) {
+ if (entry) {
setSid(entry->sid);
}
this->message = message;
@@ -50,7 +50,7 @@ namespace xfirelib {
void SendMessagePacket::initIMIndex() {
string str_sid(sid);
- if( imindexes.count( str_sid ) < 1 )
+ if ( imindexes.count( str_sid ) < 1 )
imindex = imindexes[str_sid] = 1;
else
imindex = ++imindexes[str_sid];
@@ -61,7 +61,7 @@ namespace xfirelib {
}
int SendMessagePacket::getPacketContent(char *buf) {
- if( imindex == 0 ) initIMIndex();
+ if ( imindex == 0 ) initIMIndex();
int index = 0;
VariableValue val;