Alex Bramley
e611672b06
Reorganise handlers into separate methods rather than anonymous functions.
2010-11-04 00:54:26 +00:00
Alex Bramley
c419ef1ead
Run gofmt over everything, for great justice.
2010-11-04 00:25:46 +00:00
Alex Bramley
961e38d7bf
Handle ircu's non-conformist attitude to JOIN/PART formatting(h/t raylu again).
2010-11-03 23:51:36 +00:00
Alex Bramley
7935d2e939
Use append() instead of doing it manually.
2010-11-03 23:50:43 +00:00
raylu
036cc4c3eb
Fix a bug that prevented adding multiple handlers
2010-10-24 09:54:23 +01:00
Alex Bramley
c4d09cd228
Missed strings.Split() invocation; h/t jessta.
2010-08-30 12:03:01 +01:00
Alex Bramley
38f1cd9388
minor handler bug fixes in 433 and MODE
...
* sending NICK after 433 -- but before 001 from server -- does not
result in a confirmation NICK message back from server, so we need
to change Conn.Me.Nick in the 433 handler in this case.
* Nick MODE changes are transmitted back to us in line.Text not
line.Args[1], so make sure error messages use this when needed.
2009-12-19 18:33:54 +00:00
Alex Bramley
30fbdda75e
Update 352 WHOREPLY handler to set +o and +i user modes for nick
2009-12-19 13:05:10 +00:00
Alex Bramley
cdc715735f
Use WHO instead of WHOIS to find information about nicks
...
Send a single WHO on joining channel rather than triggering a WHOIS of
every nick in the 353 RPL_NAMES handler. Avoids 'Excess Flood' when
joining a large channel ;-)
2009-12-19 12:33:54 +00:00
Alex Bramley
e5131515b8
update README and comments so godoc creates nice helpful html documentation
2009-12-18 22:48:58 +00:00
Alex Bramley
ae8e34ff0e
reformat source with gofmt to nuke all of those unneeded semicolons
2009-12-17 21:30:18 +00:00
Alex Bramley
6a8c1a13b2
correct syntax errors from updating go to 4450:dd9bae5c7eac
2009-12-17 21:14:01 +00:00
Alex Bramley
79822340b5
vastly updated bot framework, now with state tracking etc.
2009-12-17 17:22:31 +00:00
Alex
545a88fea0
initial go IRC library, dirty hax abound :-)
2009-11-29 20:23:15 +00:00