diff options
author | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2006-08-04 20:07:45 +0000 |
---|---|---|
committer | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2006-08-04 20:07:45 +0000 |
commit | ad62fb493972ee0b21ca8be03757ba3ee439a489 (patch) | |
tree | 2f899227658747163dbe0e30479dc53e50d92c9e | |
parent | 46329522b54aad458a11fbcb9e463d873d00e0ad (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
-rw-r--r-- | src/cmd_who.cpp | 2 |
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? */ |