From 4d9af8667fab0cb8bfa45e0844b4a7bd3220b151 Mon Sep 17 00:00:00 2001 From: brain Date: Tue, 13 Mar 2007 23:17:32 +0000 Subject: Fix /who thing that dmb spotted git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6671 e03df62e-2008-0410-955e-edbf42e46eb7 --- src/cmd_who.cpp | 4 ++-- 1 file 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("*"); } -- cgit v1.2.3