summaryrefslogtreecommitdiff
path: root/src/cmd_who.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/cmd_who.cpp')
-rw-r--r--src/cmd_who.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cmd_who.cpp b/src/cmd_who.cpp
index bdbca597e..de504faf2 100644
--- a/src/cmd_who.cpp
+++ b/src/cmd_who.cpp
@@ -147,7 +147,7 @@ void cmd_who::SendWhoLine(userrec* user, const std::string &initial, chanrec* ch
" " + u->nick + " ";
/* away? */
- if (*u->awaymsg)
+ if (IS_AWAY(u))
{
wholine.append("G");
}