diff options
Diffstat (limited to 'src/modules/m_remove.cpp')
| -rw-r--r-- | src/modules/m_remove.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/m_remove.cpp b/src/modules/m_remove.cpp index b06d41adf..ef9cdb789 100644 --- a/src/modules/m_remove.cpp +++ b/src/modules/m_remove.cpp @@ -78,7 +78,7 @@ class RemoveBase : public Command target = ServerInstance->Users.Find(username); /* And the channel we're meant to be removing them from */ - channel = ServerInstance->FindChan(channame); + channel = ServerInstance->Channels.Find(channame); /* Fix by brain - someone needs to learn to validate their input! */ if (!channel) |
