summaryrefslogtreecommitdiff
path: root/src/plugins/irc/irc-command.c
diff options
context:
space:
mode:
authorSebastien Helleu <flashcode@flashtux.org>2008-11-27 17:05:59 +0100
committerSebastien Helleu <flashcode@flashtux.org>2008-11-27 17:05:59 +0100
commit3c51c0e7c484d2c3efa72e5373ce7fb81de8d4db (patch)
tree3adaea1fa3c98278e43d8025a233d245c95b6c1a /src/plugins/irc/irc-command.c
parentaa77b482adce234207d9954850df0f6da6d61711 (diff)
downloadweechat-3c51c0e7c484d2c3efa72e5373ce7fb81de8d4db.zip
Remove argument "switch_to_another" for function gui_buffer_close()
Diffstat (limited to 'src/plugins/irc/irc-command.c')
-rw-r--r--src/plugins/irc/irc-command.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/irc/irc-command.c b/src/plugins/irc/irc-command.c
index 033060285..70bc20588 100644
--- a/src/plugins/irc/irc-command.c
+++ b/src/plugins/irc/irc-command.c
@@ -2460,7 +2460,7 @@ irc_command_part (void *data, struct t_gui_buffer *buffer, int argc,
}
if (!ptr_channel->nicks)
{
- weechat_buffer_close (ptr_channel->buffer, 1);
+ weechat_buffer_close (ptr_channel->buffer);
return WEECHAT_RC_OK;
}
channel_name = ptr_channel->name;