diff options
-rw-r--r-- | src/net/manaserv/generalhandler.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/net/manaserv/generalhandler.cpp b/src/net/manaserv/generalhandler.cpp index 2858d16f..7bff8a30 100644 --- a/src/net/manaserv/generalhandler.cpp +++ b/src/net/manaserv/generalhandler.cpp @@ -176,7 +176,7 @@ void GeneralHandler::event(const std::string &channel, { if (channel == "Client") { - if (event.getName() == "StatChange") + if (event.getName() == "StateChange") { int newState = event.getInt("newState"); |