summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormichael <michael@82007160-df01-0410-b94d-b575c5fd34c7>2012-12-19 20:58:16 +0000
committermichael <michael@82007160-df01-0410-b94d-b575c5fd34c7>2012-12-19 20:58:16 +0000
commitd74a863f0cb8fe4b7fac6d24342ccc99350081b9 (patch)
tree9bedfc98c399da7345d075ed7c5470eeae8e170b
parent4da5460d4491abebff8947b9d09f57e8cf51d615 (diff)
- m_nick.c:mr_nick(): remove useless IsExemptResv() test which can
never be true since the EXEMPT flags are set after nick/user/capab registration git-svn-id: svn://svn.ircd-hybrid.org/svnroot/ircd-hybrid/trunk@1688 82007160-df01-0410-b94d-b575c5fd34c7
-rw-r--r--modules/core/m_nick.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/modules/core/m_nick.c b/modules/core/m_nick.c
index 0f24a10..dbfde91 100644
--- a/modules/core/m_nick.c
+++ b/modules/core/m_nick.c
@@ -222,8 +222,7 @@ mr_nick(struct Client *client_p, struct Client *source_p,
}
/* check if the nick is resv'd */
- if (!IsExemptResv(source_p) &&
- (conf = find_matching_name_conf(CONF_NRESV, nick, NULL, NULL, 0)))
+ if ((conf = find_matching_name_conf(CONF_NRESV, nick, NULL, NULL, 0)))
{
++conf->count;
sendto_one(source_p, form_str(ERR_ERRONEUSNICKNAME), me.name,