From b8e97ead2880337ea270ed36b785b6103c46a5c2 Mon Sep 17 00:00:00 2001 From: brain Date: Mon, 23 May 2005 00:48:43 +0000 Subject: Fixed the server names reported in /stats l git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@1473 e03df62e-2008-0410-955e-edbf42e46eb7 --- src/commands.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src') diff --git a/src/commands.cpp b/src/commands.cpp index 5ba8440d9..5531af3af 100644 --- a/src/commands.cpp +++ b/src/commands.cpp @@ -1485,11 +1485,11 @@ void handle_stats(char **parameters, int pcnt, userrec *user) { if (isnick(i->second->nick)) { - WriteServ(user->fd,"211 %s :%s:%d %s %d %d %d %d",user->nick,ServerName,i->second->port,i->second->nick,i->second->bytes_in,i->second->cmds_in,i->second->bytes_out,i->second->cmds_out); + WriteServ(user->fd,"211 %s :%s:%d %s %d %d %d %d",user->nick,i->second->server,i->second->port,i->second->nick,i->second->bytes_in,i->second->cmds_in,i->second->bytes_out,i->second->cmds_out); } else { - WriteServ(user->fd,"211 %s :%s:%d (unknown@%d) %d %d %d %d",user->nick,ServerName,i->second->port,i->second->fd,i->second->bytes_in,i->second->cmds_in,i->second->bytes_out,i->second->cmds_out); + WriteServ(user->fd,"211 %s :%s:%d (unknown@%d) %d %d %d %d",user->nick,i->second->server,i->second->port,i->second->fd,i->second->bytes_in,i->second->cmds_in,i->second->bytes_out,i->second->cmds_out); } } -- cgit v1.2.3