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

Fixed two of the xop log messages

This commit is contained in:
Adam
2011-08-06 19:43:06 -04:00
parent b678aa64d8
commit 27912e1e8f
+2 -2
View File
@@ -361,7 +361,7 @@ class XOPBase : public Command
ci->AddAccess(acc);
bool override = level >= u_level || !access.HasPriv(CA_ACCESS_CHANGE);
Log(override ? LOG_OVERRIDE : LOG_COMMAND, u, this, ci) << "ADD " << mask << " as level " << level;
Log(override ? LOG_OVERRIDE : LOG_COMMAND, u, this, ci) << "ADD " << mask;
FOREACH_MOD(I_OnAccessAdd, OnAccessAdd(ci, u, acc));
source.Reply(("\002%s\002 added to %s %s list."), acc->mask.c_str(), ci->name.c_str(), source.command.c_str());
@@ -519,7 +519,7 @@ class XOPBase : public Command
}
bool override = !ci->HasPriv(u, CA_FOUNDER);
Log(override ? LOG_OVERRIDE : LOG_COMMAND, u, this, ci) << "CLEAR level " << level;
Log(override ? LOG_OVERRIDE : LOG_COMMAND, u, this, ci) << "CLEAR";
for (unsigned i = ci->GetAccessCount(); i > 0; --i)
{