From 0f6de0b18372a76ebb5d6c4ba3dc9a7a7e0a7297 Mon Sep 17 00:00:00 2001 From: brain Date: Sun, 18 Mar 2007 16:52:56 +0000 Subject: 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 --- include/channels.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'include') 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 -- cgit v1.2.3