diff options
author | Adam <Adam@anope.org> | 2010-08-27 20:56:28 -0400 |
---|---|---|
committer | Adam <Adam@anope.org> | 2010-08-27 20:56:28 -0400 |
commit | c2ddecc2b1dbc9d055166bdf296da2e4536f74f6 (patch) | |
tree | 9b98582630a2debab628e23d4d796885f50ada74 /modules/core/cs_set.cpp | |
parent | 73fb94c55344b6ad788c925bf13325236402891f (diff) |
Added a new logging system
Diffstat (limited to 'modules/core/cs_set.cpp')
-rw-r--r-- | modules/core/cs_set.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/modules/core/cs_set.cpp b/modules/core/cs_set.cpp index dd2063ffe..ede39c3c7 100644 --- a/modules/core/cs_set.cpp +++ b/modules/core/cs_set.cpp @@ -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); |