summaryrefslogtreecommitdiff
path: root/src/common/command.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/common/command.c')
-rw-r--r--src/common/command.c2
1 files changed, 1 insertions, 1 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;