From d48726ce802019f2e1573ebef7ae9f50a14f0a31 Mon Sep 17 00:00:00 2001 From: w00t Date: Sun, 30 Mar 2008 15:33:33 +0000 Subject: AWAY notification for WATCH. Numerics are now sent out when a user goes away (or returns from AWAY), as well as in WATCH L (if the user is online and away). git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9227 e03df62e-2008-0410-955e-edbf42e46eb7 --- src/commands/cmd_away.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'src/commands') 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); } -- cgit v1.2.3