Skip to content

Commit

Permalink
fox /whois #68
Browse files Browse the repository at this point in the history
  • Loading branch information
HarpyWar committed Jul 22, 2014
1 parent dfee2d7 commit 90a44ad
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions src/bnetd/command.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -271,12 +271,15 @@ namespace pvpgn

if ((game = conn_get_game(dest_c)))
{
std::string pub = localize(c, "public");
std::string prv = localize(c, "private");

msgtemp = localize(c, "{} {} using {} and {} currently in {} game \"{}\".",
namepart,
verb,
//clienttag_get_title(conn_get_clienttag(dest_c)),
clienttag_get_title(conn_get_clienttag(dest_c)),
verb,
game_get_flag(game) == game_flag_private ? "private" : "",
game_get_flag(game) == game_flag_private ? prv : pub,
game_get_name(game));
}
else if ((channel = conn_get_channel(dest_c)))
Expand Down

0 comments on commit 90a44ad

Please sign in to comment.