1
0
mirror of https://github.com/anope/anope.git synced 2026-07-03 18:23:14 +02:00

Added os_forbid

This commit is contained in:
Adam
2011-05-06 18:02:53 -04:00
parent b59602abf8
commit fd4b52ec38
66 changed files with 586 additions and 702 deletions
-7
View File
@@ -50,13 +50,6 @@ class CommandNSInfo : public Command
else
source.Reply(_(NICK_X_NOT_REGISTERED), nick.c_str());
}
else if (na->HasFlag(NS_FORBIDDEN))
{
if (u->HasMode(UMODE_OPER) && !na->last_usermask.empty())
source.Reply(_(NICK_X_FORBIDDEN_OPER), nick.c_str(), na->last_usermask.c_str(), !na->last_realname.empty() ? na->last_realname.c_str() : _(NO_REASON));
else
source.Reply(_(NICK_X_FORBIDDEN), nick.c_str());
}
else
{
bool nick_online = false, show_hidden = false;