summaryrefslogtreecommitdiff
path: root/include/channels.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/channels.h')
-rw-r--r--include/channels.h6
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
*/