diff options
author | Adam <Adam@anope.org> | 2016-09-28 20:25:01 -0400 |
---|---|---|
committer | Adam <Adam@anope.org> | 2016-09-28 20:25:01 -0400 |
commit | 93b9884715e5ce84f41c2764ebb7e37f26319792 (patch) | |
tree | 98da459dcd8bcd4b94cfd18e32af73e2ec47cfcf | |
parent | 87245f2c22f0e39578be561f7220e224a3466559 (diff) |
Include gecos in GetNUHMask
-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 dd1c9539f..065558747 100644 --- a/src/modes.cpp +++ b/src/modes.cpp @@ -863,8 +863,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 |