summaryrefslogtreecommitdiff
path: root/modules/core/hs_set.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'modules/core/hs_set.cpp')
-rw-r--r--modules/core/hs_set.cpp6
1 files changed, 0 insertions, 6 deletions
diff --git a/modules/core/hs_set.cpp b/modules/core/hs_set.cpp
index bb1be1d5b..9f2cb6526 100644
--- a/modules/core/hs_set.cpp
+++ b/modules/core/hs_set.cpp
@@ -76,12 +76,6 @@ class CommandHSSet : public Command
NickAlias *na = findnick(nick);
if ((na = findnick(nick)))
{
- if (na->HasFlag(NS_FORBIDDEN))
- {
- source.Reply(_(NICK_X_FORBIDDEN), nick.c_str());
- return MOD_CONT;
- }
-
Log(LOG_ADMIN, u, this) << "to set the vhost of " << na->nick << " to " << (!vIdent.empty() ? vIdent + "@" : "") << hostmask;
na->hostinfo.SetVhost(vIdent, hostmask, u->nick);