From c8240fcba32a3467bebbbcc43084979bdeb6c278 Mon Sep 17 00:00:00 2001 From: brain Date: Fri, 16 Dec 2005 21:18:39 +0000 Subject: Fixed LoopCall method calls git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2541 e03df62e-2008-0410-955e-edbf42e46eb7 --- src/cmd_part.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/cmd_part.cpp') 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); } } -- cgit v1.2.3