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