mirror of
https://github.com/weechat/weechat.git
synced 2026-07-01 23:36:37 +02:00
Fixed /buffer close bug with part message
This commit is contained in:
@@ -1376,7 +1376,7 @@ weechat_cmd_buffer (t_irc_server *server, t_irc_channel *channel,
|
||||
&& CHANNEL(buffer)
|
||||
&& CHANNEL(buffer)->nicks)
|
||||
{
|
||||
pos = strstr (arguments, "close");
|
||||
pos = strstr (arguments, "close ");
|
||||
if (pos)
|
||||
pos += 6;
|
||||
CHANNEL(buffer)->close = 1;
|
||||
|
||||
@@ -1376,7 +1376,7 @@ weechat_cmd_buffer (t_irc_server *server, t_irc_channel *channel,
|
||||
&& CHANNEL(buffer)
|
||||
&& CHANNEL(buffer)->nicks)
|
||||
{
|
||||
pos = strstr (arguments, "close");
|
||||
pos = strstr (arguments, "close ");
|
||||
if (pos)
|
||||
pos += 6;
|
||||
CHANNEL(buffer)->close = 1;
|
||||
|
||||
Reference in New Issue
Block a user