]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - include/channels.h
Feature request outlined in bug #257, allow connect/allow lines by port
[user/henk/code/inspircd.git] / include / channels.h
index 17e7364a42919eab3ed829887c8cb0a8f7d94d8f..305ff9974e8243c71f8f715e8db5c6d59f1b42e9 100644 (file)
@@ -178,7 +178,7 @@ class chanrec : public Extensible
        /** The last user to set the topic.
         * If this member is an empty string, no topic was ever set.
         */
-       char setby[NICKMAX];
+       char setby[128];
 
        /** Contains the channel user limit.
         * If this value is zero, there is no limit in place.
@@ -352,7 +352,7 @@ class chanrec : public Extensible
         * been created if the channel did not exist before the user was joined to it.
         * If the user could not be joined to a channel, the return value may be NULL.
         */
-       static chanrec* JoinUser(InspIRCd* ServerInstance, userrec *user, const char* cn, bool override, const char* key = "");
+       static chanrec* JoinUser(InspIRCd* ServerInstance, userrec *user, const char* cn, bool override, const char* key, time_t TS = 0);
 
        /** Write to a channel, from a user, using va_args for text
         * @param user User whos details to prefix the line with