diff options
-rw-r--r-- | iax/private.h | 2 | ||||
-rw-r--r-- | iax/services.cpp | 2 |
2 files changed, 3 insertions, 1 deletions
diff --git a/iax/private.h b/iax/private.h index a21fd71..f5e97b7 100644 --- a/iax/private.h +++ b/iax/private.h @@ -5,7 +5,7 @@ #define VER_MAJOR 0
#define VER_MINOR 1
#define VER_RELEASE 0
-#define VER_BUILD 2
+#define VER_BUILD 4
#define __STRINGIZE(x) #x
#define VER_STRING __STRINGIZE( VER_MAJOR.VER_MINOR.VER_RELEASE.VER_BUILD )
diff --git a/iax/services.cpp b/iax/services.cpp index 7cf8986..5386dea 100644 --- a/iax/services.cpp +++ b/iax/services.cpp @@ -202,6 +202,8 @@ void SetStatusAndACK(int new_status) { int SetStatusService(WPARAM wParam,LPARAM lParam)
{
int new_status = (int)wParam;
+ // we only support online and offline
+ if(new_status != ID_STATUS_OFFLINE) new_status = ID_STATUS_ONLINE;
if(new_status == current_status) return 0;
|