summaryrefslogtreecommitdiff
path: root/src/modules.cpp
diff options
context:
space:
mode:
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)