From 6b43da7511ca875b64e58b84f72dd89485c0e7fd Mon Sep 17 00:00:00 2001 From: w00t Date: Thu, 9 Mar 2006 00:29:20 +0000 Subject: More cleanup git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3571 e03df62e-2008-0410-955e-edbf42e46eb7 --- src/cmd_join.cpp | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'src/cmd_join.cpp') diff --git a/src/cmd_join.cpp b/src/cmd_join.cpp index 883f35213..159e38390 100644 --- a/src/cmd_join.cpp +++ b/src/cmd_join.cpp @@ -46,14 +46,12 @@ extern InspIRCd* ServerInstance; void cmd_join::Handle (char **parameters, int pcnt, userrec *user) { - chanrec* Ptr; - - if (ServerInstance->Parser->LoopCall(this,parameters,pcnt,user,0,0,1)) + if (ServerInstance->Parser->LoopCall(this, parameters, pcnt, user, 0, 0, 1)) return; if (IsValidChannelName(parameters[0])) { - Ptr = add_channel(user,parameters[0],parameters[1],false); + add_channel(user, parameters[0], parameters[1], false); } else { -- cgit v1.2.3