mirror of
https://github.com/anope/anope.git
synced 2026-07-01 14:26:37 +02:00
Added os_forbid
This commit is contained in:
@@ -29,11 +29,6 @@ class CommandHSDel : public Command
|
||||
NickAlias *na = findnick(nick);
|
||||
if (na)
|
||||
{
|
||||
if (na->HasFlag(NS_FORBIDDEN))
|
||||
{
|
||||
source.Reply(_(NICK_X_FORBIDDEN), nick.c_str());
|
||||
return MOD_CONT;
|
||||
}
|
||||
Log(LOG_ADMIN, u, this) << "for user " << na->nick;
|
||||
FOREACH_MOD(I_OnDeleteVhost, OnDeleteVhost(na));
|
||||
na->hostinfo.RemoveVhost();
|
||||
|
||||
Reference in New Issue
Block a user