diff options
author | Adam <Adam@anope.org> | 2015-12-29 13:53:44 -0500 |
---|---|---|
committer | Adam <Adam@anope.org> | 2015-12-29 13:53:44 -0500 |
commit | ba805e30b83c4bf2c583279f9e939fb05f566b14 (patch) | |
tree | 8a3e853a39254457c8ed2976611e151ff4498be4 /src/modes.cpp | |
parent | 6e48b1d56f27e2865ab0a77dc5af58b7acb882ca (diff) |
Include gecos in GetNUHMask
Diffstat (limited to 'src/modes.cpp')
-rw-r--r-- | src/modes.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/modes.cpp b/src/modes.cpp index 51b31bb7b..d818244c3 100644 --- a/src/modes.cpp +++ b/src/modes.cpp @@ -830,8 +830,9 @@ const Anope::string Entry::GetNUHMask() const { Anope::string n = nick.empty() ? "*" : nick, u = user.empty() ? "*" : user, - h = host.empty() ? "*" : host; - return n + "!" + u + "@" + h; + h = host.empty() ? "*" : host, + r = real.empty() ? "" : "#" + real; + return n + "!" + u + "@" + h + r; } bool Entry::Matches(User *u, bool full) const |