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.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/cmd_part.cpp b/src/cmd_part.cpp
index 23daecb76..4198d0be4 100644
--- a/src/cmd_part.cpp
+++ b/src/cmd_part.cpp
@@ -66,14 +66,14 @@ void cmd_part::Handle (char **parameters, int pcnt, userrec *user)
{
if (pcnt > 1)
{
- /*if (ServerInstance->Parser->LoopCall(handle_part,parameters,pcnt,user,0,pcnt-2,0))
- return;*/
+ if (ServerInstance->Parser->LoopCall(this,parameters,pcnt,user,0,pcnt-2,0))
+ return;
del_channel(user,parameters[0],parameters[1],false);
}
else
{
- /*if (ServerInstance->Parser->LoopCall(handle_part,parameters,pcnt,user,0,pcnt-1,0))
- return;*/
+ if (ServerInstance->Parser->LoopCall(this,parameters,pcnt,user,0,pcnt-1,0))
+ return;
del_channel(user,parameters[0],NULL,false);
}
}