diff options
author | Přemysl Janouch <p.janouch@gmail.com> | 2016-12-06 13:51:16 +0100 |
---|---|---|
committer | Přemysl Janouch <p.janouch@gmail.com> | 2016-12-06 13:51:16 +0100 |
commit | d6be22291dca329ec1463132fe0fc314b1841b1c (patch) | |
tree | 153bb03c25a44172c6a66fcbde3856374be8348d | |
parent | a813babb8927c474d1d43039a66c76c42e800fdb (diff) | |
download | xK-d6be22291dca329ec1463132fe0fc314b1841b1c.tar.gz xK-d6be22291dca329ec1463132fe0fc314b1841b1c.tar.xz xK-d6be22291dca329ec1463132fe0fc314b1841b1c.zip |
degesch: /query w/o arguments just opens the query
-rw-r--r-- | degesch.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -11042,7 +11042,7 @@ handle_command_query (struct handler_args *a) if (irc_is_channel (a->s, irc_skip_statusmsg (a->s, target))) log_server_error (a->s, a->s->buffer, "Cannot query a channel"); else if (!*a->arguments) - log_server_error (a->s, a->s->buffer, "No text to send"); + buffer_activate (a->ctx, irc_get_or_make_user_buffer (a->s, target)); else { buffer_activate (a->ctx, irc_get_or_make_user_buffer (a->s, target)); |