inspircd

A modular C++ IRC daemon (ircd). https://www.inspircd.org/
Log | Files | Refs | README

commit e1cf6f5ec70a0afcff4e6ceed5ead8042e9dcf23
parent 5ed970ca7d4e079ca9ff577974572a577c65e823
Author: Peter Powell <petpow@saberuk.com>
Date:   Mon, 28 Jan 2019 13:27:56 +0000

Fix erroneously sending RPL_YOURDISPLAYEDHOST to HAProxy clients.

Diffstat:
Msrc/users.cpp | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/users.cpp b/src/users.cpp @@ -1013,7 +1013,7 @@ bool User::ChangeDisplayedHost(const std::string& shost) this->InvalidateCache(); - if (IS_LOCAL(this)) + if (IS_LOCAL(this) && this->registered != REG_NONE) this->WriteNumeric(RPL_YOURDISPLAYEDHOST, this->GetDisplayedHost(), "is now your displayed host"); return true;