summaryrefslogtreecommitdiff
path: root/plugins/NewAwaySysMod
diff options
context:
space:
mode:
authordartraiden <wowemuh@gmail.com>2019-06-04 15:59:00 +0300
committerdartraiden <wowemuh@gmail.com>2019-06-04 15:59:00 +0300
commitdaa18dd018e3658b6dd7f9a6549842d11b26a4bf (patch)
treead5f0411a4df45d67b4a33aea28085d1ef14f2d0 /plugins/NewAwaySysMod
parent49e2ce57910d52c914af340bd14e6970b734a922 (diff)
NAS: fix statuses name
Diffstat (limited to 'plugins/NewAwaySysMod')
-rw-r--r--plugins/NewAwaySysMod/src/Properties.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/NewAwaySysMod/src/Properties.cpp b/plugins/NewAwaySysMod/src/Properties.cpp
index cc8af2b09a..a60b45b70f 100644
--- a/plugins/NewAwaySysMod/src/Properties.cpp
+++ b/plugins/NewAwaySysMod/src/Properties.cpp
@@ -47,8 +47,8 @@ void ResetSettingsOnStatusChange(const char *szProto = nullptr, int bResetPerson
CProtoState::CStatus& CProtoState::CStatus::operator=(int Status)
{
- _ASSERT(Status >= ID_STATUS_OFFLINE && Status <= ID_STATUS_OUTTOLUNCH);
- if (Status < ID_STATUS_OFFLINE || Status > ID_STATUS_MAX)
+ _ASSERT(Status >= ID_STATUS_MIN && Status <= ID_STATUS_MAX);
+ if (Status < ID_STATUS_MIN || Status > ID_STATUS_MAX)
return *this; // ignore status change if the new status is unknown
bool bModified = false;