summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/regchannel.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/regchannel.cpp b/src/regchannel.cpp
index 4bb38afef..397a6f28b 100644
--- a/src/regchannel.cpp
+++ b/src/regchannel.cpp
@@ -551,6 +551,11 @@ void ChannelInfo::ClearAkick()
delete this->akick->back();
}
+const Anope::map<int16_t> &ChannelInfo::GetLevelEntries()
+{
+ return this->levels;
+}
+
int16_t ChannelInfo::GetLevel(const Anope::string &priv) const
{
if (PrivilegeManager::FindPrivilege(priv) == NULL)