mirror of
https://github.com/anope/anope.git
synced 2026-06-25 16:26:37 +02:00
Added a new logging system
This commit is contained in:
@@ -45,7 +45,8 @@ class CommandCSSet : 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;
|
||||
mod_run_cmd(ChanServ, u, c, params[1], cmdparams);
|
||||
|
||||
Reference in New Issue
Block a user