about summary refs log tree commit diff
path: root/handle.c
diff options
context:
space:
mode:
authorJune McEnroe <june@causal.agency>2018-08-20 19:11:44 -0400
committerJune McEnroe <june@causal.agency>2018-08-20 19:11:44 -0400
commitb4ca3a5dfc459505c5abb40f73927fe91d38e640 (patch)
tree80c3d35cbd88317902cc76fe86fed5a241228ac3 /handle.c
parentRemove unnecessary include (diff)
downloadcatgirl-b4ca3a5dfc459505c5abb40f73927fe91d38e640.tar.gz
catgirl-b4ca3a5dfc459505c5abb40f73927fe91d38e640.zip
Don't clobber tab order on /who
Diffstat (limited to 'handle.c')
-rw-r--r--handle.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/handle.c b/handle.c
index 0036100..07c5a62 100644
--- a/handle.c
+++ b/handle.c
@@ -308,8 +308,7 @@ static void handleReplyWho(char *prefix, char *params) {
 	);
 	struct Tag tag = tagFor(chan);
 
-	// FIXME: Don't clobber order if they already exist.
-	tabTouch(tag, nick);
+	tabAdd(tag, nick);
 
 	size_t cap = sizeof(who.buf) - who.len;
 	int len = snprintf(