summary refs log tree commit diff
path: root/input.c
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--input.c3
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", &params, "name");
+	char *nick = param("/query", &params, "nick");
+	if (!nick) return;
 	tabTouch(TAG_NONE, nick);
 	uiViewTag(tagFor(nick));
 }