diff options
-rw-r--r-- | src/common/command.c | 2 | ||||
-rw-r--r-- | weechat/src/common/command.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/common/command.c b/src/common/command.c index f5d6bc1c3..c5f8d021a 100644 --- a/src/common/command.c +++ b/src/common/command.c @@ -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; diff --git a/weechat/src/common/command.c b/weechat/src/common/command.c index f5d6bc1c3..c5f8d021a 100644 --- a/weechat/src/common/command.c +++ b/weechat/src/common/command.c @@ -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; |