Fix /query error handling
Evidence this should be factored somehow else so the extra check is unnecessary.master
parent
e29f67dde5
commit
c1e0128803
3
input.c
3
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));
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue