From cdf451e8d4bc163b6f8711c07db0f785e90f46e7 Mon Sep 17 00:00:00 2001 From: brain Date: Sat, 10 Apr 2004 01:12:53 +0000 Subject: Added server to server 'J' token git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@481 e03df62e-2008-0410-955e-edbf42e46eb7 --- src/modules.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/modules.cpp') diff --git a/src/modules.cpp b/src/modules.cpp index 93e2d7850..9a66e957e 100644 --- a/src/modules.cpp +++ b/src/modules.cpp @@ -156,7 +156,7 @@ void Server::SendToModeMask(std::string modes, int flags, std::string text) chanrec* Server::JoinUserToChannel(userrec* user, std::string cname, std::string key) { - return add_channel(user,cname.c_str(),key.c_str()); + return add_channel(user,cname.c_str(),key.c_str(),true); } chanrec* Server::PartUserFromChannel(userrec* user, std::string cname, std::string reason) -- cgit v1.2.3