diff options
Diffstat (limited to 'input.c')
-rw-r--r-- | input.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/input.c b/input.c index c6ceb88..9bf29ac 100644 --- a/input.c +++ b/input.c @@ -74,7 +74,8 @@ static void inputPart(struct Tag tag, char *params) { static void inputQuery(struct Tag tag, char *params) { (void)tag; - char *nick = param("/query", ¶ms, "name"); + char *nick = param("/query", ¶ms, "nick"); + if (!nick) return; tabTouch(TAG_NONE, nick); uiViewTag(tagFor(nick)); } |