summaryrefslogtreecommitdiff
path: root/protocols/Xfire/src/services.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'protocols/Xfire/src/services.cpp')
-rw-r--r--protocols/Xfire/src/services.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/protocols/Xfire/src/services.cpp b/protocols/Xfire/src/services.cpp
index e6147b6009..a5c2f7d3d6 100644
--- a/protocols/Xfire/src/services.cpp
+++ b/protocols/Xfire/src/services.cpp
@@ -34,12 +34,12 @@ BOOL IsContactMySelf(std::string buddyusername) {
DBVARIANT dbv;
//nur wenn option aktiv, sonst immer FALSE
- if(!db_get_b(NULL,protocolname,"skipmyself",0))
+ if (!db_get_b(NULL,protocolname,"skipmyself",0))
return FALSE;
- if(!db_get(NULL,protocolname,"login",&dbv))
+ if (!db_get(NULL,protocolname,"login",&dbv))
{
- if(!lstrcmpiA( dbv.pszVal, buddyusername.c_str() ))
+ if (!lstrcmpiA( dbv.pszVal, buddyusername.c_str() ))
{
db_free(&dbv);
return TRUE;
@@ -56,7 +56,7 @@ BOOL IsContactMySelf(std::string buddyusername) {
INT_PTR GetMyAvatar(WPARAM wparam,LPARAM lparam) {
DBVARIANT dbv;
- if(!db_get(NULL,protocolname,"MyAvatarFile",&dbv))
+ if (!db_get(NULL,protocolname,"MyAvatarFile",&dbv))
{
strncpy((char*)wparam, dbv.pszVal, (int)lparam);
db_free(&dbv);
@@ -69,7 +69,7 @@ INT_PTR GetMyAvatar(WPARAM wparam,LPARAM lparam) {
//liefert vollendateipfad vom eigenen avatar zurück, wenn definiert
int mBotNotify(WPARAM wparam,LPARAM lparam) {
- if(wparam) {
+ if (wparam) {
CallService(MBOT_TRIGGER,(WPARAM)"xfireingame",1);
}
else