summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/modules.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules.cpp b/src/modules.cpp
index 5b8d0d505..ec870cb5d 100644
--- a/src/modules.cpp
+++ b/src/modules.cpp
@@ -446,7 +446,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(),true);
+ return add_channel(user,cname.c_str(),key.c_str(),false);
}
chanrec* Server::PartUserFromChannel(userrec* user, std::string cname, std::string reason)