diff options
Diffstat (limited to 'src/actions/commands.cpp')
-rw-r--r-- | src/actions/commands.cpp | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/src/actions/commands.cpp b/src/actions/commands.cpp index 84e093a40..e32aee7a3 100644 --- a/src/actions/commands.cpp +++ b/src/actions/commands.cpp @@ -357,4 +357,15 @@ impHandler(awayMessage) return false; } +impHandler(pseudoAway) +{ + if (localPlayer) + { + localPlayer->setPseudoAway(event.args); + localPlayer->updateStatus(); + return true; + } + return false; +} + } // namespace Actions |