about summary refs log tree commit diff
path: root/command.c
diff options
context:
space:
mode:
authorJune McEnroe <june@causal.agency>2020-09-18 18:13:09 -0400
committerJune McEnroe <june@causal.agency>2020-09-18 18:13:09 -0400
commit2b8a45779dcdb9f94060ddf694e99560ea80dabf (patch)
tree1b09a4ef1bfef4734c2d9d4d8200b5757ae3923a /command.c
parentCopy style from wrapping point (diff)
downloadcatgirl-2b8a45779dcdb9f94060ddf694e99560ea80dabf.tar.gz
catgirl-2b8a45779dcdb9f94060ddf694e99560ea80dabf.zip
Switch back to checking for server by nick with '.'
This fixes a bug where if you send a private message before joining any
channels, your message will be routed to the <network> window. That
happens because without a JOIN, self.user remains unset, which means
that require will copy self.nick (set by echoMessage) to self.host. The
easiest solution is to go back to checking for '.' and add a '.' to the
default nick, so now if a server sends a NOTICE with no origin it will
look like -*.*- which is kinda cute.
Diffstat (limited to 'command.c')
0 files changed, 0 insertions, 0 deletions