mirror of
https://github.com/anope/anope.git
synced 2026-06-28 23:06:39 +02:00
Added a new logging system
This commit is contained in:
@@ -36,6 +36,9 @@ class CommandBSUnassign : public Command
|
||||
notice_help(Config->s_BotServ, u, BOT_UNASSIGN_PERSISTANT_CHAN);
|
||||
else
|
||||
{
|
||||
bool override = !check_access(u, ci, CA_ASSIGN);
|
||||
Log(override ? LOG_OVERRIDE : LOG_COMMAND, u, this, ci) << "for " << ci->bi->nick;
|
||||
|
||||
ci->bi->UnAssign(u, ci);
|
||||
notice_lang(Config->s_BotServ, u, BOT_UNASSIGN_UNASSIGNED, ci->name.c_str());
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user