summaryrefslogtreecommitdiff
path: root/src/cmd_part.cpp
diff options
context:
space:
mode:
authorbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2005-12-16 21:18:39 +0000
committerbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2005-12-16 21:18:39 +0000
commitc8240fcba32a3467bebbbcc43084979bdeb6c278 (patch)
tree7f1922c2a4ff052715a568014bdd5eec391a3a18 /src/cmd_part.cpp
parentf3dff3c86ee68534dd181faa102109661fe6aa0f (diff)
Fixed LoopCall method calls
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2541 e03df62e-2008-0410-955e-edbf42e46eb7
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);
}
}