diff options
Diffstat (limited to 'degesch.c')
-rw-r--r-- | degesch.c | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -8755,6 +8755,12 @@ complete_nicknames (struct app_context *ctx, struct completion *data, const char *word, struct str_vector *output) { struct buffer *buffer = ctx->current_buffer; + if (buffer->type == BUFFER_SERVER) + { + struct user *self_user = buffer->server->irc_user; + if (self_user) + str_vector_add (output, self_user->nickname); + } if (buffer->type != BUFFER_CHANNEL) return; |