summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorjamie <jamie@e03df62e-2008-0410-955e-edbf42e46eb7>2006-10-02 12:13:44 +0000
committerjamie <jamie@e03df62e-2008-0410-955e-edbf42e46eb7>2006-10-02 12:13:44 +0000
commit2164b0de1227882c1748528719bfa7550cf1e170 (patch)
treedd4e09f5724ef6ff5bf80703c8034c09d5a2868b /src
parent4273e2cfb52b76298fbf0e69e7f3bddcaac1762a (diff)
Fix PART messages
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5394 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src')
-rw-r--r--src/cmd_part.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cmd_part.cpp b/src/cmd_part.cpp
index cb5dde28e..edc61ef23 100644
--- a/src/cmd_part.cpp
+++ b/src/cmd_part.cpp
@@ -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;
}