diff options
-rw-r--r-- | src/cmd_away.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cmd_away.cpp b/src/cmd_away.cpp index 8814259af..037ef4127 100644 --- a/src/cmd_away.cpp +++ b/src/cmd_away.cpp @@ -49,7 +49,7 @@ void cmd_away::Handle (char **parameters, int pcnt, userrec *user) } else { - strlcpy(user->awaymsg,"",MAXAWAY); + *user->awaymsg = 0; WriteServ(user->fd,"305 %s :You are no longer marked as being away",user->nick); } } |