Commit Graph

16 Commits

Author SHA1 Message Date
Ken-Håvard Lieng
e76beca4a0 Parse ident and host, rename irc.Message.Nick to Sender 2020-05-24 11:09:59 +02:00
Ken-Håvard Lieng
e97c7f2ada Pass config struct into irc.Client 2020-05-23 09:42:20 +02:00
Ken-Håvard Lieng
2f8dad2529 Add SASL auth and CAP negotiation 2020-05-23 08:05:37 +02:00
Ken-Håvard Lieng
be8b785813 Scrape horse doc constants, handle all nick collision error types 2020-05-23 02:30:48 +02:00
Ken-Håvard Lieng
e937f5d8b9 Quit on ERROR 2020-05-22 01:22:08 +02:00
Ken-Håvard Lieng
1abe280957 Set timeout and deadline in DownloadDCC 2020-05-20 08:38:18 +02:00
Ken-Håvard Lieng
973578bb49 Handle common CTCP messages 2020-05-20 04:19:40 +02:00
Ken-Håvard Lieng
2509420ba5 Make ToCTCP handle any type of CTCP message, move DCC handling to separate file 2020-05-12 04:13:05 +02:00
Dario Piombo
ed2e56948e start of DCC implementation
(server side)

small refactoring and added speed calculation

fixup! small refactoring and added speed calculation

download progress

fixup! download progress
2020-05-11 17:34:37 +02:00
Ken-Håvard Lieng
010bb6a102 Sleep before first reconnect attempt 2020-05-05 01:35:05 +02:00
Ken-Håvard Lieng
613d9fca6e Send irc features to the client 2019-01-27 08:53:07 +01:00
Ken-Håvard Lieng
f25594e962 Add casefolding to irc lib 2019-01-13 05:10:11 +01:00
Ken-Håvard Lieng
075e404079 Reset backoff on RPL_WELCOME 2019-01-11 05:00:15 +01:00
Ken-Håvard Lieng
eee260f154 Read lines with a bufio.Scanner, reuse input buffer, ignore empty messages, handle multiple spaces between tags and prefix 2019-01-11 04:53:50 +01:00
Ken-Håvard Lieng
fde6a9e630 Wait 15 seconds before reconnecting if the connection closed before registration finished 2018-06-17 22:53:22 +02:00
Ken-Håvard Lieng
24f9553aa5 Persist, renew and delete sessions, refactor storage package, move reusable packages to pkg 2018-05-31 23:24:59 +02:00