From d280234e14974c7db1c243b8c30caa63d82bd396 Mon Sep 17 00:00:00 2001 From: Adam Date: Thu, 6 Oct 2016 14:20:31 -0400 Subject: #1681 update last realname always on signon --- src/users.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src') diff --git a/src/users.cpp b/src/users.cpp index f107d8fb3..3d4b7e1b7 100644 --- a/src/users.cpp +++ b/src/users.cpp @@ -523,6 +523,8 @@ void User::UpdateHost() Anope::string last_realhost = this->GetIdent() + "@" + this->host; na->SetLastUsermask(last_usermask); na->SetLastRealhost(last_realhost); + // This is called on signon, and if users are introduced with an account it won't update + na->SetLastRealname(this->realname); } } -- cgit