summaryrefslogtreecommitdiff
path: root/src/plugins/irc/irc-protocol.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/plugins/irc/irc-protocol.c')
-rw-r--r--src/plugins/irc/irc-protocol.c8
1 files changed, 0 insertions, 8 deletions
diff --git a/src/plugins/irc/irc-protocol.c b/src/plugins/irc/irc-protocol.c
index 1b63781d9..285b71c04 100644
--- a/src/plugins/irc/irc-protocol.c
+++ b/src/plugins/irc/irc-protocol.c
@@ -1491,14 +1491,6 @@ irc_protocol_cmd_part (struct t_irc_server *server, char *irc_message, char *hos
irc_nick_free (ptr_channel, ptr_nick);
}
}
- else
- {
- weechat_printf (server->buffer,
- _("%s%s: channel \"%s\" not found for \"%s\" "
- "command"),
- weechat_prefix ("error"), "irc", arguments, "part");
- return WEECHAT_RC_ERROR;
- }
return WEECHAT_RC_OK;
}