From 4e14ff66f1108dc8c596248ad368c20d14a79e03 Mon Sep 17 00:00:00 2001 From: brain Date: Tue, 3 Jun 2008 21:18:54 +0000 Subject: Fix for bug #548 reported by jackmcbarn, away message not unsetting git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9837 e03df62e-2008-0410-955e-edbf42e46eb7 --- src/commands/cmd_away.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/commands') 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& 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()); } -- cgit v1.2.3