1
0
mirror of https://github.com/anope/anope.git synced 2026-06-29 07:36:39 +02:00

Added a new logging system

This commit is contained in:
Adam
2010-08-27 20:56:28 -04:00
parent 73fb94c553
commit c2ddecc2b1
119 changed files with 1516 additions and 1222 deletions
+3 -1
View File
@@ -40,9 +40,11 @@ class CommandCSSASet : public Command
if (c)
{
Anope::string cmdparams = cs_findchan(params[0])->name;
ChannelInfo *ci = cs_findchan(params[0]);
Anope::string cmdparams = ci->name;
for (std::vector<Anope::string>::const_iterator it = params.begin() + 2, it_end = params.end(); it != it_end; ++it)
cmdparams += " " + *it;
Log(LOG_ADMIN, u, this, ci) << params[1] << " " << cmdparams;
mod_run_cmd(ChanServ, u, c, params[1], cmdparams);
}
else