summaryrefslogtreecommitdiff
path: root/modules/commands/cs_set_chanstats.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'modules/commands/cs_set_chanstats.cpp')
-rw-r--r--modules/commands/cs_set_chanstats.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/commands/cs_set_chanstats.cpp b/modules/commands/cs_set_chanstats.cpp
index 904d7fb22..118387ee4 100644
--- a/modules/commands/cs_set_chanstats.cpp
+++ b/modules/commands/cs_set_chanstats.cpp
@@ -24,7 +24,7 @@ class CommandCSSetChanstats : public Command
void Execute(CommandSource &source, const std::vector<Anope::string> &params) anope_override
{
- ChannelInfo *ci = cs_findchan(params[0]);
+ ChannelInfo *ci = ChannelInfo::Find(params[0]);
if (!ci)
{
source.Reply(CHAN_X_NOT_REGISTERED, params[0].c_str());