summaryrefslogtreecommitdiff
path: root/modules/commands/cs_set_description.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'modules/commands/cs_set_description.cpp')
-rw-r--r--modules/commands/cs_set_description.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/commands/cs_set_description.cpp b/modules/commands/cs_set_description.cpp
index b72c2cf8e..a5ad525ab 100644
--- a/modules/commands/cs_set_description.cpp
+++ b/modules/commands/cs_set_description.cpp
@@ -24,7 +24,7 @@ class CommandCSSetDescription : 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 == NULL)
{
source.Reply(CHAN_X_NOT_REGISTERED, params[0].c_str());