Fix PART messages

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5394 e03df62e-2008-0410-955e-edbf42e46eb7
This commit is contained in:
jamie 2006-10-02 12:13:44 +00:00
parent 4273e2cfb5
commit 2164b0de12

View File

@ -34,7 +34,7 @@ CmdResult cmd_part::Handle (const char** parameters, int pcnt, userrec *user)
if (c)
{
if (!c->PartUser(user, pcnt > 1 ? parameters[0] : NULL))
if (!c->PartUser(user, pcnt > 1 ? parameters[1] : NULL))
/* Arse, who stole our channel! :/ */
delete c;
}