summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2007-03-18 16:52:56 +0000
committerbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2007-03-18 16:52:56 +0000
commit0f6de0b18372a76ebb5d6c4ba3dc9a7a7e0a7297 (patch)
treeb16e5eb6b4d97bca39472ffea21d412c13ad71e2 /include
parent3699bdaee53896b491256d3aa694ef20cbdb0743 (diff)
set the TS of a channel in JoinUser, not after the entire FJOIN, this is safer and may fix the odd desync here and there
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6690 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'include')
-rw-r--r--include/channels.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/channels.h b/include/channels.h
index 7daab2167..305ff9974 100644
--- a/include/channels.h
+++ b/include/channels.h
@@ -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