diff options
author | michael <michael@82007160-df01-0410-b94d-b575c5fd34c7> | 2013-05-30 10:56:53 +0000 |
---|---|---|
committer | michael <michael@82007160-df01-0410-b94d-b575c5fd34c7> | 2013-05-30 10:56:53 +0000 |
commit | 040e76a005043fe2993eb17f1ae37efbf67ad37c (patch) | |
tree | 5b0e9e05507d13bda8f4ff151e2f593c78c82139 /modules/m_svsmode.c | |
parent | 9f69ad60ff28ba4f1d22b0e92fcf54f1757dcac4 (diff) |
- 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
Diffstat (limited to 'modules/m_svsmode.c')
-rw-r--r-- | modules/m_svsmode.c | 8 |
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': |