summaryrefslogtreecommitdiff
path: root/src/commands
diff options
context:
space:
mode:
authorAttila Molnar <attilamolnar@hush.com>2014-01-05 15:20:17 +0100
committerAttila Molnar <attilamolnar@hush.com>2014-01-05 15:20:17 +0100
commit9136136ac373a922cd0875f77d3212a419fb9100 (patch)
tree385afcb56e62de5a39bed1d7bf6d5311cc001df9 /src/commands
parent11916574f67962dce1d7a2fdf7ef6a3d2d1fa49f (diff)
Move server description field from TreeServer into Server; remove OnGetServerDescription hook
Diffstat (limited to 'src/commands')
-rw-r--r--src/commands/cmd_whois.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/commands/cmd_whois.cpp b/src/commands/cmd_whois.cpp
index fdc2ad045..7e67676ed 100644
--- a/src/commands/cmd_whois.cpp
+++ b/src/commands/cmd_whois.cpp
@@ -144,8 +144,7 @@ void CommandWhois::DoWhois(User* user, User* dest, unsigned long signon, unsigne
}
else
{
- std::string serverdesc = ServerInstance->GetServerDescription(dest->server->GetName());
- ServerInstance->SendWhoisLine(user, dest, 312, "%s %s :%s", dest->nick.c_str(), dest->server->GetName().c_str(), serverdesc.c_str());
+ ServerInstance->SendWhoisLine(user, dest, 312, "%s %s :%s", dest->nick.c_str(), dest->server->GetName().c_str(), dest->server->GetDesc().c_str());
}
if (dest->IsAway())