diff options
Diffstat (limited to 'src/nickcore.cpp')
-rw-r--r-- | src/nickcore.cpp | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/nickcore.cpp b/src/nickcore.cpp index 6dadc9217..804d0c1c7 100644 --- a/src/nickcore.cpp +++ b/src/nickcore.cpp @@ -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) |