1
0
mirror of https://github.com/anope/anope.git synced 2026-07-03 23:23:13 +02:00

Merge branch '2.0' into 2.1.

This commit is contained in:
Sadie Powell
2023-11-16 19:33:51 +00:00
5 changed files with 52 additions and 25 deletions
+6 -1
View File
@@ -230,7 +230,12 @@ class CommandCSAccess : public Command
{
Anope::string mask = params[2];
if (!isdigit(mask[0]) && mask.find_first_of("#!*@") == Anope::string::npos && !NickAlias::Find(mask))
const NickAlias *na = NickAlias::Find(mask);
if (na && na->nc)
{
mask = na->nc->display;
}
else if (!isdigit(mask[0]) && mask.find_first_of("#!*@") == Anope::string::npos)
{
User *targ = User::Find(mask, true);
if (targ != NULL)