summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/channels.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/channels.h b/include/channels.h
index 80459d357..23867c792 100644
--- a/include/channels.h
+++ b/include/channels.h
@@ -32,6 +32,8 @@ struct ChanUserContainer : public Extensible
class CoreExport Channel : public Base, public Extensible
{
+ static std::vector<Channel *> deleting;
+
public:
typedef std::multimap<Anope::string, Anope::string> ModeList;
private:
@@ -300,6 +302,8 @@ class CoreExport Channel : public Base, public Extensible
* @param ts The time the channel was created
*/
static Channel *FindOrCreate(const Anope::string &name, bool &created, time_t ts = Anope::CurTime);
+
+ static void DeleteChannels();
};
#endif // CHANNELS_H