diff options
author | Adam <Adam@anope.org> | 2017-10-07 21:10:47 -0400 |
---|---|---|
committer | Adam <Adam@anope.org> | 2017-10-07 21:10:47 -0400 |
commit | 2312f1fbd06ac01bb55e1d99070cde05a09a5a17 (patch) | |
tree | 69239628ed39e342650574f93d441f58d6d82b7b /include/channels.h | |
parent | 286bffa2cd6a3f564334c5a4669ea3aadfb27a0a (diff) |
No longer expose c->ci and ci->c
Diffstat (limited to 'include/channels.h')
-rw-r--r-- | include/channels.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/include/channels.h b/include/channels.h index 63e0559c3..d04a63bcf 100644 --- a/include/channels.h +++ b/include/channels.h @@ -53,8 +53,6 @@ class CoreExport Channel : public Base, public Extensible public: /* Channel name */ Anope::string name; - /* Set if this channel is registered. ci->c == this. Contains information relevant to the registered channel */ - Serialize::Reference<ChanServ::Channel> ci; /* When the channel was created */ time_t creation_time; /* If the channel has just been created in a netjoin */ @@ -98,6 +96,10 @@ class CoreExport Channel : public Base, public Extensible */ ~Channel(); + /** Get the chanserv channel for this channel + */ + ChanServ::Channel *GetChannel(); + /** Gets the channels name * @return the channel name */ |