summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authormichael <michael@82007160-df01-0410-b94d-b575c5fd34c7>2014-03-23 19:51:23 +0000
committermichael <michael@82007160-df01-0410-b94d-b575c5fd34c7>2014-03-23 19:51:23 +0000
commit0cd9856c13bf057ac2aba0bb8d8770d2f59344f7 (patch)
tree5ef5776d4589c6d742722d8f4178729481fa3de2 /src
parent54a00282d9f08314749db5bee8635abc40262c04 (diff)
- channel_mode.c:chm_voice, chm_hop, chm_op: removed extraneous/redundant IsClient() test
git-svn-id: svn://svn.ircd-hybrid.org/svnroot/ircd-hybrid/branches/8.1.x@3194 82007160-df01-0410-b94d-b575c5fd34c7
Diffstat (limited to 'src')
-rw-r--r--src/channel_mode.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/src/channel_mode.c b/src/channel_mode.c
index 5ec5256..7241da8 100644
--- a/src/channel_mode.c
+++ b/src/channel_mode.c
@@ -969,8 +969,6 @@ chm_voice(struct Client *client_p, struct Client *source_p,
if ((targ_p = find_chasing(source_p, opnick)) == NULL)
return;
- if (!IsClient(targ_p))
- return;
if ((member = find_channel_link(targ_p, chptr)) == NULL)
{
@@ -1046,8 +1044,6 @@ chm_hop(struct Client *client_p, struct Client *source_p,
if ((targ_p = find_chasing(source_p, opnick)) == NULL)
return;
- if (!IsClient(targ_p))
- return;
if ((member = find_channel_link(targ_p, chptr)) == NULL)
{
@@ -1122,8 +1118,6 @@ chm_op(struct Client *client_p, struct Client *source_p,
if ((targ_p = find_chasing(source_p, opnick)) == NULL)
return;
- if (!IsClient(targ_p))
- return;
if ((member = find_channel_link(targ_p, chptr)) == NULL)
{