summaryrefslogtreecommitdiff
path: root/modules/commands/cs_clearusers.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'modules/commands/cs_clearusers.cpp')
-rw-r--r--modules/commands/cs_clearusers.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/commands/cs_clearusers.cpp b/modules/commands/cs_clearusers.cpp
index d6eed6e4d..3a424e4ce 100644
--- a/modules/commands/cs_clearusers.cpp
+++ b/modules/commands/cs_clearusers.cpp
@@ -26,7 +26,7 @@ class CommandCSClearUsers : public Command
{
const Anope::string &chan = params[0];
- Channel *c = findchan(chan);
+ Channel *c = Channel::Find(chan);
Anope::string modebuf;
if (!c)