From ad62fb493972ee0b21ca8be03757ba3ee439a489 Mon Sep 17 00:00:00 2001 From: brain Date: Fri, 4 Aug 2006 20:07:45 +0000 Subject: [PATCH] Fixed bug in new /who code spotted by jilles git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4718 e03df62e-2008-0410-955e-edbf42e46eb7 --- src/cmd_who.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/cmd_who.cpp b/src/cmd_who.cpp index aab1688ba..69960000e 100644 --- a/src/cmd_who.cpp +++ b/src/cmd_who.cpp @@ -132,7 +132,7 @@ void cmd_who::Handle (const char** parameters, int pcnt, userrec *user) /* XXX - code duplication; this could be more efficient -- w00t */ std::string wholine = initial; - wholine = wholine + getlastchanname(i->second) + " " + i->second->ident + " " + (opt_showrealhost ? i->second->host : i->second->dhost) + " " + + wholine = wholine + ch->name + " " + i->second->ident + " " + (opt_showrealhost ? i->second->host : i->second->dhost) + " " + i->second->server + " " + i->second->nick + " "; /* away? */ -- 2.39.5