Commit Graph

10 Commits

Author SHA1 Message Date
Alex Bramley 2942cf2093 Add naive flood protection code to *Conn.send() 2009-12-19 13:40:50 +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 dc1dd0333a Remove extraneous (and quite spammy) debug printing. 2009-12-18 23:59:12 +00:00
Alex Bramley 05e665bec7 add irc_test.go, update Makefile and .gitignore
add simple test code to make building this package within src/pkg happy;
update irc/Makefile whitespace -- s/    /\t/;
update .gitignore to ignore _test directory created in test build;
2009-12-18 22:50:13 +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