summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2007-03-13 23:17:32 +0000
committerbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2007-03-13 23:17:32 +0000
commit4d9af8667fab0cb8bfa45e0844b4a7bd3220b151 (patch)
tree3964abcf15146281749a150ba6766441a0ee6242 /src
parent8dee35328f55bc7f62185d536d8157235767f728 (diff)
Fix /who thing that dmb spotted
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6671 e03df62e-2008-0410-955e-edbf42e46eb7
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("*");
}