From 0cd9856c13bf057ac2aba0bb8d8770d2f59344f7 Mon Sep 17 00:00:00 2001 From: michael Date: Sun, 23 Mar 2014 19:51:23 +0000 Subject: - 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 --- src/channel_mode.c | 6 ------ 1 file changed, 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) { -- cgit