1
0
mirror of https://github.com/anope/anope.git synced 2026-07-01 22:26:39 +02:00

Some access level fixes from Robby to more closely match the historic levels, and some code cleanup

This commit is contained in:
Adam
2012-05-26 02:15:48 -04:00
parent 38d5f20deb
commit 2cbfbc98e9
5 changed files with 59 additions and 43 deletions
+3 -2
View File
@@ -166,7 +166,7 @@ class CommandCSFlags : public Command
else
{
source.Reply(_("You can not set the \002%c\002 flag."), f);
continue;
break;
}
}
if (add == 1)
@@ -235,10 +235,11 @@ class CommandCSFlags : public Command
for (unsigned i = 0, end = ci->GetAccessCount(); i < end; ++i)
{
const ChanAccess *access = ci->GetAccess(i);
const Anope::string &flags = FlagsChanAccess::DetermineFlags(access);
if (!arg.empty())
{
const Anope::string &flags = FlagsChanAccess::DetermineFlags(access);
if (arg[0] == '+')
{
bool pass = true;