diff options
author | attilamolnar <attilamolnar@hush.com> | 2013-04-01 01:27:02 +0200 |
---|---|---|
committer | attilamolnar <attilamolnar@hush.com> | 2013-04-01 01:27:02 +0200 |
commit | 12872e3d4b942d10c4dc1ec9e099345b474ac874 (patch) | |
tree | 74445ff4ed0a28e61c9523d8de9039bd5e9107e1 /src/whois.cpp | |
parent | d1a88f0957aeef918af4cea5dcf87892df755130 (diff) |
Change User::GetIPString() to return const std::string&
Diffstat (limited to 'src/whois.cpp')
-rw-r--r-- | src/whois.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/whois.cpp b/src/whois.cpp index bec9c7ea9..efed45ce3 100644 --- a/src/whois.cpp +++ b/src/whois.cpp @@ -24,7 +24,7 @@ void InspIRCd::DoWhois(User* user, User* dest,unsigned long signon, unsigned lon this->SendWhoisLine(user, dest, 311, "%s %s %s %s * :%s",user->nick.c_str(), dest->nick.c_str(), dest->ident.c_str(), dest->dhost.c_str(), dest->fullname.c_str()); if (user == dest || user->HasPrivPermission("users/auspex")) { - this->SendWhoisLine(user, dest, 378, "%s %s :is connecting from %s@%s %s", user->nick.c_str(), dest->nick.c_str(), dest->ident.c_str(), dest->host.c_str(), dest->GetIPString()); + this->SendWhoisLine(user, dest, 378, "%s %s :is connecting from %s@%s %s", user->nick.c_str(), dest->nick.c_str(), dest->ident.c_str(), dest->host.c_str(), dest->GetIPString().c_str()); } std::string cl = dest->ChannelList(user, false); |