diff options
| author | 2006-10-02 12:13:44 +0000 | |
|---|---|---|
| committer | 2006-10-02 12:13:44 +0000 | |
| commit | 2164b0de1227882c1748528719bfa7550cf1e170 (patch) | |
| tree | dd4e09f5724ef6ff5bf80703c8034c09d5a2868b /src/cmd_part.cpp | |
| parent | Fix SAJOIN notices to show target instead of source nick (diff) | |
Fix PART messages
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5394 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src/cmd_part.cpp')
| -rw-r--r-- | src/cmd_part.cpp | 2 |
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; } |
