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

Replace nick_is_* checking of static userlevels with NickCore::IsServicesOper, which just confirms they have *an* opertype.

git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2231 5417fbe8-f217-4b02-8779-1006273d7864
This commit is contained in:
rburchell
2009-04-01 19:56:40 +00:00
parent e57feb4ef6
commit 3cdca9e47a
13 changed files with 30 additions and 71 deletions
+8
View File
@@ -22,6 +22,14 @@ bool NickCore::HasCommand(const std::string &cmdstr) const
return this->ot->HasCommand(cmdstr);
}
bool NickCore::IsServicesOper() const
{
if (this->ot)
return true;
return false;
}
bool NickCore::HasPriv(const std::string &privstr) const
{
if (!this->ot)