]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - include/channels.h
OnRawMode event makes a return: This was removed post 1.0 because it was incredibly...
[user/henk/code/inspircd.git] / include / channels.h
index c49ac35d3632242f0407674538fe0e0b80db4155..268adf47b1f642f0bc25c84a2f0456f39c05d77f 100644 (file)
@@ -93,9 +93,6 @@ enum UserChannelModes {
        UCMODE_HOP      = 4     /* Halfopped user */
 };
 
-/* Forward declaration -- required */
-class InspIRCd;
-
 /** A stored prefix and its rank
  */
 typedef std::pair<char, unsigned int> prefixtype;
@@ -138,6 +135,11 @@ class CoreExport Channel : public Extensible
        int maxbans;
 
  public:
+       /** Creates a channel record and initialises it with default values
+        * @throw Nothing at present.
+        */
+       Channel(InspIRCd* Instance, const std::string &name, time_t ts);
+
        /** The channel's name.
         */
        char name[CHANMAX];
@@ -334,11 +336,6 @@ class CoreExport Channel : public Extensible
         */
        bool HasUser(User* user);
 
-       /** Creates a channel record and initialises it with default values
-        * @throw Nothing at present.
-        */
-       Channel(InspIRCd* Instance);
-
        /** Make src kick user from this channel with the given reason.
         * @param src The source of the kick
         * @param user The user being kicked (must be on this channel)