diff options
Diffstat (limited to 'src/cmd_join.cpp')
-rw-r--r-- | src/cmd_join.cpp | 6 |
1 files changed, 2 insertions, 4 deletions
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 { |