Commit Graph

31 Commits

Author SHA1 Message Date
d32dd5e8a0 Fix nil compiled time and lint 2021-10-09 08:50:48 -07:00
9724515d2b Fix: event parsing bug 2021-10-09 06:37:51 -07:00
9065b0d6ab New: store data bout the connected IRC server 2021-10-03 15:28:29 -07:00
01ce96b07a Ever cook bacon on your CPU cooler? 2021-10-01 06:15:34 -07:00
Liam Stanley
634e679a3d initial sts functionality 2019-07-11 23:36:29 -04: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
nmeum
a39e11bebb remove use of unneeded rfc1459 conversion (#31)
The lookupUser function already converts the argument to an RFC 1459
compliant nick and there is no need to convert it twice.
2018-12-24 08:32:43 -08:00
nmeum
514d004b74 client: Add GetID() function (#28)
Makes it a bit less verbose to check if an event originated from once
own client. While at it the existing code was modified accordingly.
2018-12-10 12:08:53 -08: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
e46d210b5d fix Client.conn data race during pong; closes #11 2018-04-06 21:29:34 -04:00
Liam Stanley
e8273d405d improve handler execution to prioritize background handlers first 2017-11-30 14:37:00 -05:00
Liam Stanley
c2601da083 use rune literals for ease of reading 2017-11-30 10:23:52 -05:00
Liam Stanley
eb5ec700b4 remove potential inconsistencies with relying on Client.GetNick() 2017-08-10 07:03:58 -04:00
Liam Stanley
b7e0086816 fix bug with user perms not being applied independantly 2017-08-08 05:33:15 -04:00
Liam Stanley
9e08ab340d cleanup state mutexs, add state change events 2017-07-12 00:44:44 -04:00
Liam Stanley
1f66c9ffec rewrite state to support separate dataset for users 2017-07-04 01:29:22 -04:00
Liam Stanley
4ea647f354 better realname handling when hopcounts are provided. 2017-06-30 19:20:30 -04:00
Liam Stanley
75341d3cef Commands -> Cmd 2017-06-15 04:46:10 -04:00
Liam Stanley
039539a6a3 implement basic support for sasl plain 2017-04-23 14:03:12 -04:00
Liam Stanley
9cb3f3c522 implement Source.Copy(), and rewrite Event.Copy() 2017-04-18 06:20:33 -04:00
Liam Stanley
2c7ecf8d9f fix bug because unrealircd 2017-03-15 23:08:53 -04:00
Liam Stanley
fa20cdac87 remove separation between CAP and regular tracking 2017-02-21 00:20:57 -05:00
Liam Stanley
54acd5fb7e implement GetIdent() and GetHost() on Client, clean up panic handling 2017-02-20 23:02:45 -05:00
Liam Stanley
fabc1c65b8 update docs; remove Client.DisableNickCollision; implement Config.HandleNickCollide 2017-02-20 21:03:35 -05:00
Liam Stanley
650e301ccc implement Client.Lag() 2017-02-20 20:39:16 -05:00
Liam Stanley
9818cded91 Debug->Debugger; implement client side ping tracking; implement Config.Out; implement Config.PingDelay 2017-02-14 02:14:38 -05:00
Liam Stanley
39fd16999d fix misc. bugs; refractor send queue 2017-02-13 21:57:18 -05:00
Liam Stanley
27efadda57 implement commands 2017-02-13 07:52:29 -05:00
Liam Stanley
2c7fffa496 Builtin -> Builtins 2017-02-11 23:54:42 -05:00
Liam Stanley
69a6d77ac8 Callbacks -> Handlers 2017-02-11 22:51:05 -05:00