]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - include/channels.h
Fixed to not allow :Abc NICK Abc, where the case of the old and new nick are *identical*
[user/henk/code/inspircd.git] / include / channels.h
index ed57955a23dfda2b0b7eb2f481b1cc3f58fd80c3..dac6713762082f1c04ec9e8db3eda0b9653bbbea 100644 (file)
@@ -30,6 +30,8 @@
 #define CM_SECRET 16
 #define CM_PRIVATE 32
 
+class userrec;
+
 /** Holds an entry for a ban list, exemption list, or invite list.
  * This class contains a single element in a channel list, such as a banlist.
  */
@@ -255,5 +257,9 @@ class ucrec : public classbase
        virtual ~ucrec() { /* stub */ }
 };
 
+chanrec* add_channel(userrec *user, const char* cn, const char* key, bool override);
+chanrec* del_channel(userrec *user, const char* cname, const char* reason, bool local);
+void kick_channel(userrec *src,userrec *user, chanrec *Ptr, char* reason);
+
 #endif