summaryrefslogtreecommitdiff
path: root/src/cmd_join.cpp
diff options
context:
space:
mode:
authorw00t <w00t@e03df62e-2008-0410-955e-edbf42e46eb7>2006-03-09 00:29:20 +0000
committerw00t <w00t@e03df62e-2008-0410-955e-edbf42e46eb7>2006-03-09 00:29:20 +0000
commit6b43da7511ca875b64e58b84f72dd89485c0e7fd (patch)
tree2a05f782577be7039b487bd26512fd9f28fb915a /src/cmd_join.cpp
parent9c65ad17c7a86f9ddeb688b3eb6368b4d79ab85a (diff)
More cleanup
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3571 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src/cmd_join.cpp')
-rw-r--r--src/cmd_join.cpp6
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
{