summaryrefslogtreecommitdiff
path: root/src/commands/cmd_away.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/commands/cmd_away.cpp')
-rw-r--r--src/commands/cmd_away.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/commands/cmd_away.cpp b/src/commands/cmd_away.cpp
index 6dccf9759..d6f9189e7 100644
--- a/src/commands/cmd_away.cpp
+++ b/src/commands/cmd_away.cpp
@@ -44,7 +44,7 @@ CmdResult CommandAway::Handle (const std::vector<std::string>& parameters, User
if (MOD_RESULT != 0 && !IS_LOCAL(user))
return CMD_FAILURE;
- user->awaymsg.empty();
+ user->awaymsg.clear();
user->WriteNumeric(305, "%s :You are no longer marked as being away",user->nick.c_str());
}