summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authormichael <michael@82007160-df01-0410-b94d-b575c5fd34c7>2013-04-22 15:35:39 +0000
committermichael <michael@82007160-df01-0410-b94d-b575c5fd34c7>2013-04-22 15:35:39 +0000
commit9b3964095697b2ea4025151bd3a2d7cd77edcde2 (patch)
treef27b044057d80a244ed4f8658cea38f5b24bcb5b /src
parent5a6db6dfb7a62e99f02b8faf79ba08e3e30b086d (diff)
- send.c:sendto_common_channels_local(): fixed core which has been introduced in -r1734
git-svn-id: svn://svn.ircd-hybrid.org/svnroot/ircd-hybrid/trunk@1844 82007160-df01-0410-b94d-b575c5fd34c7
Diffstat (limited to 'src')
-rw-r--r--src/send.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/send.c b/src/send.c
index b7bf044..699dea3 100644
--- a/src/send.c
+++ b/src/send.c
@@ -532,7 +532,7 @@ sendto_common_channels_local(struct Client *user, int touser, unsigned int cap,
if (touser && MyConnect(user) && !IsDead(user) &&
user->localClient->serial != current_serial)
- if (HasCap(target_p, cap) == cap)
+ if (HasCap(user, cap) == cap)
send_message(user, buffer, len);
}