1
0
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:
Sebastien Helleu
2006-04-02 10:45:29 +00:00
parent 6175a89580
commit f98d66a842
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -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;
+1 -1
View File
@@ -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;