mirror of
https://github.com/anope/anope.git
synced 2026-07-02 19:05:43 +02:00
Added log messages for all of the other chanserv commands that should be logged
This commit is contained in:
File diff suppressed because it is too large
Load Diff
@@ -32,6 +32,8 @@ class CommandCSSync : public Command
|
||||
source.Reply(ACCESS_DENIED);
|
||||
else
|
||||
{
|
||||
Log(LOG_COMMAND, source, this, ci);
|
||||
|
||||
for (CUserList::iterator it = ci->c->users.begin(), it_end = ci->c->users.end(); it != it_end; ++it)
|
||||
chan_set_correct_modes((*it)->user, ci->c, 1, false);
|
||||
|
||||
|
||||
@@ -72,6 +72,8 @@ class CommandCSTBan : public Command
|
||||
c->SetMode(NULL, CMODE_BAN, mask);
|
||||
new TempBan(t, c, mask);
|
||||
|
||||
Log(LOG_COMMAND, source, this, c->ci) << "for " << mask << " to expire in " << duration(t);
|
||||
|
||||
source.Reply(_("%s banned from %s, will auto-expire in %s."), mask.c_str(), c->name.c_str(), duration(t).c_str());
|
||||
}
|
||||
|
||||
|
||||
@@ -53,6 +53,8 @@ class CommandCSUnban : public Command
|
||||
return;
|
||||
}
|
||||
|
||||
Log(LOG_COMMAND, source, this, ci) << "to unban " << u2->nick;
|
||||
|
||||
common_unban(ci, u2, source.GetUser() == u2);
|
||||
if (u2 == source.GetUser())
|
||||
source.Reply(_("You have been unbanned from \002%s\002."), ci->c->name.c_str());
|
||||
|
||||
Reference in New Issue
Block a user