mirror of
https://github.com/anope/anope.git
synced 2026-07-08 22:53:12 +02:00
Set access masks to the case of the nick they match, if any
This commit is contained in:
@@ -175,6 +175,9 @@ class CommandCSAccess : public Command
|
||||
return;
|
||||
}
|
||||
}
|
||||
|
||||
if (na)
|
||||
mask = na->nick;
|
||||
}
|
||||
|
||||
for (unsigned i = ci->GetAccessCount(); i > 0; --i)
|
||||
|
||||
@@ -130,6 +130,9 @@ class CommandCSFlags : public Command
|
||||
return;
|
||||
}
|
||||
}
|
||||
|
||||
if (na)
|
||||
mask = na->nick;
|
||||
}
|
||||
|
||||
ChanAccess *current = NULL;
|
||||
|
||||
@@ -176,6 +176,9 @@ class CommandCSXOP : public Command
|
||||
return;
|
||||
}
|
||||
}
|
||||
|
||||
if (na)
|
||||
mask = na->nick;
|
||||
}
|
||||
|
||||
for (unsigned i = 0; i < ci->GetAccessCount(); ++i)
|
||||
|
||||
Reference in New Issue
Block a user