]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - src/cmd_who.cpp
kick_channel -> chanrec::KickUser(), server_kick_channel -> chanrec::ServerKickUser()
[user/henk/code/inspircd.git] / src / cmd_who.cpp
index aab1688baf5144ebba532dc461acdc5134d61fc2..69960000e6ead6fe258263905819dedaef7bfbdf 100644 (file)
@@ -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? */