From 040e76a005043fe2993eb17f1ae37efbf67ad37c Mon Sep 17 00:00:00 2001 From: michael Date: Thu, 30 May 2013 10:56:53 +0000 Subject: - m_svsmode(), user_set_hostmask(): minor cleanups and fixes to previous commit git-svn-id: svn://svn.ircd-hybrid.org/svnroot/ircd-hybrid/branches/8.1.x@2144 82007160-df01-0410-b94d-b575c5fd34c7 --- modules/m_svsmode.c | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) (limited to 'modules') diff --git a/modules/m_svsmode.c b/modules/m_svsmode.c index 6c42aa0..d54f664 100644 --- a/modules/m_svsmode.c +++ b/modules/m_svsmode.c @@ -107,13 +107,7 @@ ms_svsmode(struct Client *client_p, struct Client *source_p, case 'x': if (!EmptyString(extarg) && valid_hostname(extarg)) - { - if (what == MODE_DEL && HasUMode(target_p, UMODE_HIDDENHOST)) - user_set_hostmask(target_p, extarg, what); - if (what == MODE_ADD && !HasUMode(target_p, UMODE_HIDDENHOST)) - user_set_hostmask(target_p, extarg, what); - } - + user_set_hostmask(target_p, extarg, what); break; case 'o': -- cgit