summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2008-06-03 21:18:54 +0000
committerbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2008-06-03 21:18:54 +0000
commit4e14ff66f1108dc8c596248ad368c20d14a79e03 (patch)
tree69ee8f30589d69fa45ee56b8c3a5758f44f5410a
parent4ac568dd5c2162189eea2d7c086743fae721da84 (diff)
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
-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());
}