summaryrefslogtreecommitdiff
path: root/src/modules/autoaway/autoaway.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/modules/autoaway/autoaway.cpp')
-rw-r--r--src/modules/autoaway/autoaway.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/modules/autoaway/autoaway.cpp b/src/modules/autoaway/autoaway.cpp
index 767800d014..764cd3e965 100644
--- a/src/modules/autoaway/autoaway.cpp
+++ b/src/modules/autoaway/autoaway.cpp
@@ -41,8 +41,8 @@ static int AutoAwayEvent(WPARAM, LPARAM lParam)
if ( !Proto_IsAccountEnabled(pa) || Proto_IsAccountLocked(pa)) continue;
- int statusbits = CallProtoService(pa->szModuleName, PS_GETCAPS, PFLAGNUM_2, 0);
- int currentstatus = CallProtoService(pa->szModuleName, PS_GETSTATUS, 0, 0);
+ int statusbits = CallProtoServiceInt(NULL,pa->szModuleName, PS_GETCAPS, PFLAGNUM_2, 0);
+ int currentstatus = CallProtoServiceInt(NULL,pa->szModuleName, PS_GETSTATUS, 0, 0);
int status = mii.aaStatus;
if ( !(statusbits & Proto_Status2Flag(status))) {
// the protocol doesnt support the given status