mirror of
https://github.com/inspircd/inspircd.git
synced 2025-03-13 20:49:02 -04:00
Fix PART messages
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5394 e03df62e-2008-0410-955e-edbf42e46eb7
This commit is contained in:
parent
4273e2cfb5
commit
2164b0de12
@ -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;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user