summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2007-02-12 19:25:05 +0000
committerbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2007-02-12 19:25:05 +0000
commit72ea73d0be16c2fc30a11c274e8797c81829ae14 (patch)
tree33b5b2ce84af38ea138105d813bb07e3133e2988 /src
parent64b14130440aee41917ca52775d08f7a2a3b2414 (diff)
Only apply force join to local clients
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6578 e03df62e-2008-0410-955e-edbf42e46eb7
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;