summary refs log tree commit diff
diff options
context:
space:
mode:
authorJune McEnroe <june@causal.agency>2020-02-04 20:27:18 -0500
committerJune McEnroe <june@causal.agency>2020-02-04 20:27:18 -0500
commitea93c9a6d98904c2334f86358a261cc6e556bdf4 (patch)
tree6160d866f9a30cf00b60c12e46cb3a58e0ea4155
parentSplit showing style codes and word wrapping (diff)
downloadcatgirl-ea93c9a6d98904c2334f86358a261cc6e556bdf4.tar.gz
catgirl-ea93c9a6d98904c2334f86358a261cc6e556bdf4.zip
Set self.color
Diffstat (limited to '')
-rw-r--r--handle.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/handle.c b/handle.c
index 29d1500..305d70d 100644
--- a/handle.c
+++ b/handle.c
@@ -184,6 +184,7 @@ static void handleJoin(struct Message *msg) {
 	require(msg, true, 1);
 	size_t id = idFor(msg->params[0]);
 	if (self.nick && !strcmp(msg->nick, self.nick)) {
+		self.color = hash(msg->user);
 		idColors[id] = hash(msg->params[0]);
 		uiShowID(id);
 	}
an: correct typos, iff -> ifMartijn Dekker 2018-04-19expand: Do not quote backslashes in unquoted parameter expansionHerbert Xu 2018-04-19shell: Add subdir-objects to AM_INIT_AUTOMAKEJason Bowen 2018-04-19eval: Restore input files in evalcommandHerbert Xu 2018-04-19eval: Reap zombies after built-in commands and functionsHerbert Xu 2018-04-19redir: Fix typo in noclobber codeHerbert Xu 2018-04-19expand: Fix glibc glob(3) supportHerbert Xu 2018-04-02expand: Fix buffer overflow in expandmetaHerbert Xu 2018-04-02builtin: Move echo space/nl handling into print_escape_strHerbert Xu 2018-04-02builtin: Fix echo performance regressionHerbert Xu 2018-04-02expand: Fix ghost fields with unquoted $@/$*Herbert Xu 2018-04-02parser: Allow newlines within parameter substitutionHerbert Xu 2018-04-02expand: Fix bugs with words connected to the right of $@Herbert Xu 2018-03-25Revert "[BUILTIN] Remove unnecessary restoration of format string in printf"Herbert Xu 2018-03-22parser: Fix backquote support in here-document EOF markHerbert Xu