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

Merge usefulness of Flags and Extensible classes into Extensible, made most flags we have juse strings instead of defines/enums

This commit is contained in:
Adam
2013-01-21 22:31:16 -05:00
parent 51c049e1a7
commit ddaa001daf
128 changed files with 1857 additions and 2293 deletions
+2 -2
View File
@@ -51,7 +51,7 @@ class SQLOperResult : public SQL::Interface
delete user->Account()->o;
user->Account()->o = NULL;
Log(this->owner) << "m_sql_oper: Removed services operator from " << user->nick << " (" << user->Account()->display << ")";
user->RemoveMode(OperServ, UMODE_OPER); // Probably not set, just incase
user->RemoveMode(OperServ, "OPER"); // Probably not set, just incase
}
return;
}
@@ -70,7 +70,7 @@ class SQLOperResult : public SQL::Interface
Config->Opers.push_back(user->Account()->o);
}
if (!user->HasMode(UMODE_OPER))
if (!user->HasMode("OPER"))
{
IRCD->SendOper(user);