diff options
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 |