summaryrefslogtreecommitdiff
path: root/modules/commands/cs_appendtopic.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'modules/commands/cs_appendtopic.cpp')
-rw-r--r--modules/commands/cs_appendtopic.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/commands/cs_appendtopic.cpp b/modules/commands/cs_appendtopic.cpp
index 70cde7b7b..2d7c0f278 100644
--- a/modules/commands/cs_appendtopic.cpp
+++ b/modules/commands/cs_appendtopic.cpp
@@ -52,7 +52,7 @@ class CommandCSAppendTopic : public Command
{
const Anope::string &newtopic = params[1];
- Channel *c = findchan(params[0]);;
+ Channel *c = Channel::Find(params[0]);;
if (!c)
source.Reply(CHAN_X_NOT_IN_USE, params[0].c_str());