From 72ea73d0be16c2fc30a11c274e8797c81829ae14 Mon Sep 17 00:00:00 2001 From: brain Date: Mon, 12 Feb 2007 19:25:05 +0000 Subject: Only apply force join to local clients git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6578 e03df62e-2008-0410-955e-edbf42e46eb7 --- src/modules/m_conn_join.cpp | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src') 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 Joinchans; -- cgit v1.2.3