diff options
author | Adam <Adam@anope.org> | 2016-07-03 13:06:06 -0400 |
---|---|---|
committer | Adam <Adam@anope.org> | 2016-07-03 13:06:06 -0400 |
commit | 18fc11398435a84a77219dc7332bed6e38c850d7 (patch) | |
tree | f83f0993c01c854aca9ecd0d4a8fdc4d2b28e387 /src/users.cpp | |
parent | 20c1a5d63892deab16af85db85aaac3fcb30de7a (diff) |
#1681 update last realname always on signon
Diffstat (limited to 'src/users.cpp')
-rw-r--r-- | src/users.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/users.cpp b/src/users.cpp index 8a66329ab..264f5ceba 100644 --- a/src/users.cpp +++ b/src/users.cpp @@ -507,6 +507,8 @@ void User::UpdateHost() Anope::string last_realhost = this->GetIdent() + "@" + this->host; na->last_usermask = last_usermask; na->last_realhost = last_realhost; + // This is called on signon, and if users are introduced with an account it won't update + na->last_realname = this->realname; } } |