summaryrefslogtreecommitdiff
path: root/src/cmd_part.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/cmd_part.cpp')
-rw-r--r--src/cmd_part.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cmd_part.cpp b/src/cmd_part.cpp
index beb590ab9..88aab1abf 100644
--- a/src/cmd_part.cpp
+++ b/src/cmd_part.cpp
@@ -27,7 +27,7 @@ void cmd_part::Handle (const char** parameters, int pcnt, userrec *user)
if (ServerInstance->Parser->LoopCall(user, this, parameters, pcnt, 0))
return;
- chanrec* c = FindChan(parameters[0]);
+ chanrec* c = ServerInstance->FindChan(parameters[0]);
if (c)
{