diff options
author | Adam <Adam@anope.org> | 2015-03-11 14:36:56 -0400 |
---|---|---|
committer | Adam <Adam@anope.org> | 2015-03-11 14:36:56 -0400 |
commit | 310e95a92e64a9546247fe57d4643328fa4ebe9b (patch) | |
tree | 59f02aa933d7bf766c26e38253f546c478b166f2 /src/regchannel.cpp | |
parent | 78bff86dab32dc484164e5da8a535b3ec24c5c03 (diff) |
Allow cs clone to clone levels too
Diffstat (limited to 'src/regchannel.cpp')
-rw-r--r-- | src/regchannel.cpp | 5 |
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) |