From 310e95a92e64a9546247fe57d4643328fa4ebe9b Mon Sep 17 00:00:00 2001 From: Adam Date: Wed, 11 Mar 2015 14:36:56 -0400 Subject: Allow cs clone to clone levels too --- src/regchannel.cpp | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'src') 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 &ChannelInfo::GetLevelEntries() +{ + return this->levels; +} + int16_t ChannelInfo::GetLevel(const Anope::string &priv) const { if (PrivilegeManager::FindPrivilege(priv) == NULL) -- cgit