]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - include/channels.h
Tons more sanity checks and length checks
[user/henk/code/inspircd.git] / include / channels.h
index a800c73a97e2fc5469dc53ec0605c4b7a209df07..9f97c3b8b9c3e99c8cdd86f616b6ae34cfa6326b 100644 (file)
@@ -53,15 +53,15 @@ class InviteItem : public HostItem
 
 /** Holds a complete ban list
  */
-typedef vector<BanItem>        BanList;
+typedef std::vector<BanItem>   BanList;
 
 /** Holds a complete exempt list
  */
-typedef vector<ExemptItem>     ExemptList;
+typedef std::vector<ExemptItem>        ExemptList;
 
 /** Holds a complete invite list
  */
-typedef vector<InviteItem>     InviteList;
+typedef std::vector<InviteItem>        InviteList;
 
 /** Holds all relevent information for a channel.
  * This class represents a channel, and contains its name, modes, time created, topic, topic set time,
@@ -132,14 +132,14 @@ class chanrec : public classbase
        /** The list of all bans set on the channel.
         */
        BanList bans;
-
+       
        /** Sets or unsets a custom mode in the channels info
         */
-       SetCustomMode(char mode,bool mode_on);
+       void SetCustomMode(char mode,bool mode_on);
 
-       /** Sets or unsets the parameterrs for a custom mode in a channels info
+       /** Sets or unsets the parameters for a custom mode in a channels info
         */
-       SetCustomModeParam(char mode,char* parameter,bool mode_on);
+       void SetCustomModeParam(char mode,char* parameter,bool mode_on);
  
        /** Creates a channel record and initialises it with default values
         */