summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorfrostycoolslug <frostycoolslug@e03df62e-2008-0410-955e-edbf42e46eb7>2005-04-02 21:40:17 +0000
committerfrostycoolslug <frostycoolslug@e03df62e-2008-0410-955e-edbf42e46eb7>2005-04-02 21:40:17 +0000
commit208caa7d759b82d7a77d00108e6dd6d8c0627ba8 (patch)
tree6139f5142b3c818b3649a88f6ed86012342fdfbd /src
parente0e0338b6b7cee98540bb28a7f1c90e84bb0c5db (diff)
Fixed cosmetic bug in /who
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@957 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src')
-rw-r--r--src/commands.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/commands.cpp b/src/commands.cpp
index 92798377d..4ff6edc31 100644
--- a/src/commands.cpp
+++ b/src/commands.cpp
@@ -885,11 +885,11 @@ void handle_who(char **parameters, int pcnt, userrec *user)
}
if (Ptr)
{
- WriteServ(user->fd,"315 %s %s :End of /WHO list.",user->nick, Ptr->name);
+ WriteServ(user->fd,"315 %s %s :End of /WHO list.",user->nick , parameters[0]);
}
else
{
- WriteServ(user->fd,"315 %s %s :End of /WHO list.",user->nick, user->nick);
+ WriteServ(user->fd,"315 %s %s :End of /WHO list.",user->nick, parameters[0]);
}
return;
}
@@ -914,7 +914,7 @@ void handle_who(char **parameters, int pcnt, userrec *user)
WriteServ(user->fd,"352 %s %s %s %s %s %s %s :0 %s",user->nick, Ptr->name, i->second->ident, i->second->dhost, i->second->server, i->second->nick, tmp, i->second->fullname);
}
}
- WriteServ(user->fd,"315 %s %s :End of /WHO list.",user->nick, Ptr->name);
+ WriteServ(user->fd,"315 %s %s :End of /WHO list.",user->nick, parameters[0]);
}
else
{
@@ -962,7 +962,7 @@ void handle_who(char **parameters, int pcnt, userrec *user)
}
}
}
- WriteServ(user->fd,"315 %s %s :End of /WHO list.",user->nick, user->nick);
+ WriteServ(user->fd,"315 %s %s :End of /WHO list.",user->nick, parameters[0]);
return;
}
}