summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2006-08-04 20:07:45 +0000
committerbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2006-08-04 20:07:45 +0000
commitad62fb493972ee0b21ca8be03757ba3ee439a489 (patch)
tree2f899227658747163dbe0e30479dc53e50d92c9e /src
parent46329522b54aad458a11fbcb9e463d873d00e0ad (diff)
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
Diffstat (limited to 'src')
-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 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? */