summaryrefslogtreecommitdiff
path: root/src/modules.cpp
diff options
context:
space:
mode:
authorbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2004-04-10 01:12:53 +0000
committerbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2004-04-10 01:12:53 +0000
commitcdf451e8d4bc163b6f8711c07db0f785e90f46e7 (patch)
tree1499b4decb059ea98833edb8aaec406cf9e8aef1 /src/modules.cpp
parent51a61214cde90bb47acdc1d43484cace22a1aa2d (diff)
Added server to server 'J' token
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@481 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src/modules.cpp')
-rw-r--r--src/modules.cpp2
1 files changed, 1 insertions, 1 deletions
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)