summaryrefslogtreecommitdiff
path: root/src/common
diff options
context:
space:
mode:
authorSebastien Helleu <flashcode@flashtux.org>2005-04-07 18:58:01 +0000
committerSebastien Helleu <flashcode@flashtux.org>2005-04-07 18:58:01 +0000
commitae8a4633efcbba8bc34072dd1b539a1b550a5341 (patch)
treee8f3c95a3301721828cfc0e86684988382c1b6d3 /src/common
parent38505d02ddcc47f04b1e5312e46191637bb3bbb5 (diff)
downloadweechat-ae8a4633efcbba8bc34072dd1b539a1b550a5341.zip
Allow nick completion in private buffer with /me command
Diffstat (limited to 'src/common')
-rw-r--r--src/common/completion.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/common/completion.c b/src/common/completion.c
index 03546ae45..27bc9b5a5 100644
--- a/src/common/completion.c
+++ b/src/common/completion.c
@@ -392,6 +392,11 @@ completion_build_list (t_completion *completion, void *channel)
completion_stop (completion);
return;
}
+ if (strcasecmp (completion->base_command, "me") == 0)
+ {
+ completion->context = COMPLETION_NICK;
+ return;
+ }
if (strcasecmp (completion->base_command, "notice") == 0)
{
if (completion->base_command_arg != 1)