summaryrefslogtreecommitdiff
path: root/include/regchannel.h
diff options
context:
space:
mode:
authorAdam <Adam@anope.org>2015-03-11 14:36:56 -0400
committerAdam <Adam@anope.org>2015-03-11 14:36:56 -0400
commit310e95a92e64a9546247fe57d4643328fa4ebe9b (patch)
tree59f02aa933d7bf766c26e38253f546c478b166f2 /include/regchannel.h
parent78bff86dab32dc484164e5da8a535b3ec24c5c03 (diff)
Allow cs clone to clone levels too
Diffstat (limited to 'include/regchannel.h')
-rw-r--r--include/regchannel.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/include/regchannel.h b/include/regchannel.h
index 416b0280d..50e0ceed2 100644
--- a/include/regchannel.h
+++ b/include/regchannel.h
@@ -198,6 +198,11 @@ class CoreExport ChannelInfo : public Serializable, public Extensible
*/
void ClearAkick();
+ /** Get the level entries for the channel.
+ * @return The levels for the channel.
+ */
+ const Anope::map<int16_t> &GetLevelEntries();
+
/** Get the level for a privilege
* @param priv The privilege name
* @return the level