summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/modules/m_conn_join.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/modules/m_conn_join.cpp b/src/modules/m_conn_join.cpp
index ca7f0c068..1736ffa37 100644
--- a/src/modules/m_conn_join.cpp
+++ b/src/modules/m_conn_join.cpp
@@ -75,6 +75,9 @@ class ModuleConnJoin : public Module
virtual void OnPostConnect(userrec* user)
{
+ if (!IS_LOCAL(user))
+ return;
+
if (!JoinChan.empty())
{
std::vector<std::string> Joinchans;