1
0
mirror of https://github.com/anope/anope.git synced 2026-06-25 22:06:39 +02:00

Allow cs clone to clone levels too

This commit is contained in:
Adam
2015-03-11 14:36:56 -04:00
parent 78bff86dab
commit 310e95a92e
3 changed files with 29 additions and 2 deletions
+5
View File
@@ -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)