diff options
author | Robert Pösel <robyer@seznam.cz> | 2012-11-20 15:08:57 +0000 |
---|---|---|
committer | Robert Pösel <robyer@seznam.cz> | 2012-11-20 15:08:57 +0000 |
commit | dc10ccec13d8fa7dfe6f263ee19490b05464a0d0 (patch) | |
tree | 411d7f428df37f7478ecf7183ef29d0c8365e412 /protocols/Xfire/src/Xfire_voicechat.cpp | |
parent | 6853eac17709ea7d4694f4a38fcc9e1867f4ce8d (diff) |
xFire: Fixed TString madness, protocol should work properly now.
git-svn-id: http://svn.miranda-ng.org/main/trunk@2395 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/Xfire/src/Xfire_voicechat.cpp')
-rw-r--r-- | protocols/Xfire/src/Xfire_voicechat.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/protocols/Xfire/src/Xfire_voicechat.cpp b/protocols/Xfire/src/Xfire_voicechat.cpp index ccca22b1a8..a1c6483b00 100644 --- a/protocols/Xfire/src/Xfire_voicechat.cpp +++ b/protocols/Xfire/src/Xfire_voicechat.cpp @@ -166,20 +166,20 @@ void Xfire_voicechat::writeToDatabase(SendGameStatus2Packet* packet) { }
//ip speichern
sprintf_s(temp,32,"%d.%d.%d.%d:%d",(unsigned char)packet->ip[3],(unsigned char)packet->ip[2],(unsigned char)packet->ip[1],(unsigned char)packet->ip[0],packet->port);
- DBWriteContactSettingTString(NULL, protocolname, "VServerIP", temp);
+ DBWriteContactSettingString(NULL, protocolname, "VServerIP", temp);
//namen jeh nach id schreiben
switch(packet->gameid) {
case XFIREVOICECHAT_TS3:
- DBWriteContactSettingTString(NULL, protocolname, "currentvoicename", "Teamspeak 3");
+ DBWriteContactSettingString(NULL, protocolname, "currentvoicename", "Teamspeak 3");
break;
case XFIREVOICECHAT_TS2:
- DBWriteContactSettingTString(NULL, protocolname, "currentvoicename", "Teamspeak 2");
+ DBWriteContactSettingString(NULL, protocolname, "currentvoicename", "Teamspeak 2");
break;
case XFIREVOICECHAT_MUMBLE:
- DBWriteContactSettingTString(NULL, protocolname, "currentvoicename", "Mumble");
+ DBWriteContactSettingString(NULL, protocolname, "currentvoicename", "Mumble");
break;
case XFIREVOICECHAT_VENTRILO:
- DBWriteContactSettingTString(NULL, protocolname, "currentvoicename", "Ventrilo");
+ DBWriteContactSettingString(NULL, protocolname, "currentvoicename", "Ventrilo");
break;
};
}
|