summaryrefslogtreecommitdiff
path: root/modules/core/hs_set.cpp
diff options
context:
space:
mode:
authorAdam <Adam@anope.org>2011-05-06 18:02:53 -0400
committerAdam <Adam@anope.org>2011-05-16 04:10:18 -0400
commitfd4b52ec385167794eaadb18ee635bef757728ee (patch)
tree49d3e835b072a10887309d8d9155982a5aa61ed0 /modules/core/hs_set.cpp
parentb59602abf85d522bb2f188be70b6cb7c9556a856 (diff)
Added os_forbid
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);