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.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/commands/cmd_away.cpp b/src/commands/cmd_away.cpp
index c49813b52..33e140beb 100644
--- a/src/commands/cmd_away.cpp
+++ b/src/commands/cmd_away.cpp
@@ -32,6 +32,7 @@ CmdResult CommandAway::Handle (const char* const* parameters, int pcnt, User *us
if (MOD_RESULT != 0 && !IS_LOCAL(user))
return CMD_FAILURE;
+ user->awaytime = ServerInstance->Time();
strlcpy(user->awaymsg,parameters[0],MAXAWAY);
user->WriteNumeric(306, "%s :You have been marked as being away",user->nick);
}