Commit Graph

33 Commits

Author SHA1 Message Date
d32dd5e8a0 Fix nil compiled time and lint 2021-10-09 08:50:48 -07:00
b84d822ec5 Fix: go module and event bug 2021-10-09 06:25:17 -07:00
01ce96b07a Ever cook bacon on your CPU cooler? 2021-10-01 06:15:34 -07:00
Liam Stanley
51b8e096d3
move away from Event.Trailing
* initial work towards moving away from Event.Trailing

* Event.Trailing() -> Event.Last()

* fix incorrect go.mod/go.sum files

* fixes for pretty printed topics and CTCPs

* remove unneeded whitespace check

* clarify potential contents of Event.Params

* better splitting of hopcount from realname
2019-02-10 16:20:25 -05:00
Liam Stanley
d173036cbc convert ID field to ID method 2018-12-09 16:23:41 -08:00
Liam Stanley
3167511d81 initial fixes for #23 2018-11-13 22:02:34 -08:00
Liam Stanley
bbccf004ba add: expose CTCP encode/decode; add: Event.IsCTCP()
closes #20
2018-09-30 19:28:09 -04:00
Liam Stanley
c2601da083 use rune literals for ease of reading 2017-11-30 10:23:52 -05:00
Liam Stanley
864c1e6bad add json struct tag formatting 2017-08-08 05:45:45 -04:00
Liam Stanley
35c5ed5946 minor refractor 2017-07-12 01:06:20 -04:00
Liam Stanley
4ea5d7efcb implement lastActive and FINGER replies 2017-07-01 19:53:47 -04:00
Liam Stanley
75341d3cef Commands -> Cmd 2017-06-15 04:46:10 -04:00
Liam Stanley
27efadda57 implement commands 2017-02-13 07:52:29 -05:00
Liam Stanley
88057bed20 implement ability to catch panics in handlers 2017-02-13 01:15:53 -05:00
Liam Stanley
ca4751aa41 add origin event to CTCPEvent to allow determining source 2017-02-13 01:05:11 -05:00
Liam Stanley
69a6d77ac8 Callbacks -> Handlers 2017-02-11 22:51:05 -05:00
Liam Stanley
82f34d9777 remove ability to disable default CTCP; config->Config, move Disable* fields into functions 2017-02-08 02:55:38 -05:00
Liam Stanley
ba03de710d update copyright to remove year 2017-02-06 02:45:31 -05:00
Liam Stanley
37b380a564 rename Client.Config to client.config to prevent potential raceconditions or silly behavior 2017-02-05 07:11:59 -05:00
Liam Stanley
3a576d1db9 implement version config option to override default ctcp version 2017-01-12 02:34:29 -05:00
Liam Stanley
714a315ef0 yay new year 2017-01-03 11:05:27 -05:00
Liam Stanley
f3b1c1e940 initial support for message tags 2017-01-03 11:02:24 -05:00
Liam Stanley
36b2976b91 fix spelling 2016-12-30 08:54:59 -05:00
Liam Stanley
0ac9bc4501 simplify slice expansion 2016-12-30 08:54:19 -05:00
Liam Stanley
67eff739b1 add some tests for ctcp 2016-12-26 06:06:36 -05:00
Liam Stanley
e2e8c8e7b3 help prevent against panics during testing or malformed CTCP request 2016-12-26 05:48:06 -05:00
Liam Stanley
169f1c1e38 fix bugs with wildcard ctcps not properly executing 2016-12-26 05:37:33 -05:00
Liam Stanley
f1a52c820f don't pass event pointers due to potential manipulation 2016-12-26 05:34:34 -05:00
Liam Stanley
4015215b14 add support for wildcard CTCP handlers 2016-12-26 04:36:09 -05:00
Liam Stanley
8e58f078c2 implement ERRMSG replies, responding to PONG, VERSION, SOURCE, and TIME 2016-12-26 04:31:05 -05:00
Liam Stanley
c6dbf08c59 implement support to respond to CTCP events; minor bug fixes; overhaul CTCP docs; implement DisableDefaultCTCP; implement CTCPEvent.Reply 2016-12-26 03:51:42 -05:00
Liam Stanley
caaaf560be extra test checks; added ctcp SetBg, added handleCTCPPing to default CTCPs 2016-12-26 03:06:15 -05:00
Liam Stanley
3abefe033c start working on ctcp handling 2016-12-24 00:15:41 -05:00