1
0
mirror of https://github.com/anope/anope.git synced 2026-07-02 06:46:38 +02:00

Include gecos in GetNUHMask

This commit is contained in:
Adam
2015-12-29 13:53:44 -05:00
parent 6e48b1d56f
commit ba805e30b8
+3 -2
View File
@@ -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