mirror of
https://github.com/anope/anope.git
synced 2026-06-26 17:56:38 +02:00
Added a new logging system
This commit is contained in:
@@ -40,7 +40,7 @@ class CommandNSSendPass : public Command
|
||||
{
|
||||
if (SendPassMail(u, na, tmp_pass))
|
||||
{
|
||||
Alog() << Config->s_NickServ << ": " << u->GetMask() << " used SENDPASS on " << nick;
|
||||
Log(Config->RestrictMail ? LOG_ADMIN : LOG_COMMAND, u, this) << "for " << na->nick;
|
||||
notice_lang(Config->s_NickServ, u, NICK_SENDPASS_OK, nick.c_str());
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user