diff options
author | michael <michael@82007160-df01-0410-b94d-b575c5fd34c7> | 2014-05-22 19:19:41 +0000 |
---|---|---|
committer | michael <michael@82007160-df01-0410-b94d-b575c5fd34c7> | 2014-05-22 19:19:41 +0000 |
commit | a532d78a2deaf35ba49a254c14abe785eb406282 (patch) | |
tree | 18cebcea818b893263c3b59d0f273a1e8fd74c95 | |
parent | 7798b661e93c895101b6875e0d7b40f88d35ab06 (diff) |
- m_join.c:ms_join(): don't allow servers to join channels
git-svn-id: svn://svn.ircd-hybrid.org/svnroot/ircd-hybrid/branches/8.1.x@3619 82007160-df01-0410-b94d-b575c5fd34c7
-rw-r--r-- | modules/core/m_join.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/modules/core/m_join.c b/modules/core/m_join.c index 57235c9..6939a5a 100644 --- a/modules/core/m_join.c +++ b/modules/core/m_join.c @@ -308,6 +308,9 @@ ms_join(struct Client *client_p, struct Client *source_p, struct Channel *chptr = NULL; struct Mode mode, *oldmode; + if (!IsClient(source_p)) + return; + if (parc == 2 && !irccmp(parv[1], "0")) { do_join_0(client_p, source_p); |