]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - include/channelmanager.h
Fix memory leak on rehash: opertype used char* instead of std::string
[user/henk/code/inspircd.git] / include / channelmanager.h
index a85cdea26600788ba837689de0ac520ad91fc96c..ea2c602822e14fdf06fa6f1e72f831f012e5e1f2 100644 (file)
@@ -2,8 +2,8 @@
  *       | Inspire Internet Relay Chat Daemon |
  *       +------------------------------------+
  *
- *  InspIRCd: (C) 2002-2008 InspIRCd Development Team
- * See: http://www.inspircd.org/wiki/index.php/Credits
+ *  InspIRCd: (C) 2002-2009 InspIRCd Development Team
+ * See: http://wiki.inspircd.org/Credits
  *
  * This program is free but copyrighted software; see
  *         the file COPYING for details.
 #ifndef __CHANNELMANAGER_H
 #define __CHANNELMANAGER_H
 
-class CoreExport ChannelManager : public classbase
+/** THe channel manager class allocates and deallocates channels and manages
+ * the container which holds them. For some reason, nobody finished this.
+ * TODO: Finish in future release!
+ */
+class CoreExport ChannelManager : public Extensible
 {
  private:
        InspIRCd *ServerInstance;
  public:
-       UserManager(InspIRCd *Instance)
+       /** Constructor
+        */
+       ChannelManager(InspIRCd *Instance) : ServerInstance(Instance)
        {
-               ServerInstance = Instance;
        }
 };