summaryrefslogtreecommitdiff
path: root/modules
diff options
context:
space:
mode:
authormichael <michael@82007160-df01-0410-b94d-b575c5fd34c7>2014-03-23 18:58:18 +0000
committermichael <michael@82007160-df01-0410-b94d-b575c5fd34c7>2014-03-23 18:58:18 +0000
commit3ae8f7036933cf9d8905ee19f5aee6473ac9adb7 (patch)
treee93b8638f0cf6ea8477944cc7224d65589e5dc3f /modules
parent0b7da31bd728bbf63787deeeb6052fd3a1ace4b5 (diff)
- Backported -r3180 [m_locops.c:ms_locops(): accept LOCOPS from servers]
git-svn-id: svn://svn.ircd-hybrid.org/svnroot/ircd-hybrid/branches/8.1.x@3191 82007160-df01-0410-b94d-b575c5fd34c7
Diffstat (limited to 'modules')
-rw-r--r--modules/m_locops.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/m_locops.c b/modules/m_locops.c
index 73d39cd..2d00f0f 100644
--- a/modules/m_locops.c
+++ b/modules/m_locops.c
@@ -78,7 +78,7 @@ ms_locops(struct Client *client_p, struct Client *source_p,
sendto_match_servs(source_p, parv[1], CAP_CLUSTER, "LOCOPS %s :%s",
parv[1], parv[2]);
- if (!IsClient(source_p) || match(parv[1], me.name))
+ if (match(parv[1], me.name))
return 0;
if (find_matching_name_conf(CONF_ULINE, source_p->servptr->name,