summaryrefslogtreecommitdiff
path: root/src/commands/cmd_part.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/commands/cmd_part.cpp')
-rw-r--r--src/commands/cmd_part.cpp4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/commands/cmd_part.cpp b/src/commands/cmd_part.cpp
index a7a407ac8..c234ed681 100644
--- a/src/commands/cmd_part.cpp
+++ b/src/commands/cmd_part.cpp
@@ -61,9 +61,7 @@ CmdResult CommandPart::Handle (const std::vector<std::string>& parameters, User
if (c)
{
- if (!c->PartUser(user, reason))
- /* Arse, who stole our channel! :/ */
- delete c;
+ c->PartUser(user, reason);
}
else
{