summaryrefslogtreecommitdiff
path: root/modules
diff options
context:
space:
mode:
Diffstat (limited to 'modules')
-rw-r--r--modules/m_svsmode.c8
1 files changed, 1 insertions, 7 deletions
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':