Commit Graph
30 Commits
Author SHA1 Message Date
Kaleb Elwert ea57336e8f Replaces the Event.Message field with a function
Note that this purposefully breaks backwords compatibility. Because of
how Arguments are now handled, this will force users using this library
to update anything using this.

This is not bad, as it seems, because otherwise (just updating the
Event.Arguments to include the Message) the change could cause silent,
strange breakages.
2014-02-12 00:02:58 +01:00
Andrew Montgomery-Hurrell 847ce8faa2 Make IRC logger public. No reason for disallowing overrides. 2014-02-10 19:56:16 +00:00
Andrew Montgomery-Hurrell c0e6d50e0c Added configurable timeouts and overridable version string 2014-02-09 10:20:58 +00:00
Thomas Jager a1d207d5fa Merge pull request #19 from worr/ctcp_action
Added support for CTCP ACTION (/me)
2014-02-02 03:21:25 -08:00
William Orr 391b6d42cf Added support for CTCP ACTION (/me) 2014-02-01 21:38:45 -08:00
joe c10849b4c0 Loop: catch reconnection errors; writeLoop: only log.Print if Debug 2013-09-25 23:37:11 -04:00
Thomas Jager 0304912f18 Fix crash on nick change 2013-03-13 12:52:31 +01:00
Thomas Jager be3afcc796 Merge branch 'master' of git://github.com/lye/cleanirc
Conflicts:
	irc.go
	irc_callback.go
	irc_struct.go

Merge Interesting changes from fork
2012-11-06 00:38:20 +01:00
Thomas Jager a5f3a91fd1 go get not working quite as i thought 2012-11-05 23:46:47 +01:00
Thomas Jager ddf0508cdb Cleanup old files 2012-11-05 23:41:04 +01:00
Reynir Reynisson 670fd99fb4 Rename IRC{Connection,Event} -> {Connection,Event}
I don't feel it's necessary to tag the types with IRC, as a client would
tag it with the module name anyway. Example:

    var conn irc.IRCConnection
    // ...

vs.

    var conn irc.Connection
    // ...
2012-05-11 13:35:25 +02:00
lye 4f82a31c9c Minor tweaks to play nicely with the new go tool 2012-03-28 01:15:26 -05:00
lye 5fe3fea8c0 Hurrah, starting a real fork.
The old codebase is too messy for my taste and doesn't provide a clean
enough API. I don't like the name either, so I'm also rebranding it. I
don't care.
2012-03-21 22:38:22 -05:00
Michael Jard a0256382be Fixes against weekly.2012-02-22
Convert time/duration variables
Clean up duration math
2012-02-25 00:52:19 -08:00
Michael Jard 0a5d471404 fix minor issue where bot tries to set its nick every 15 minutes,
even if it has the wanted nick.
2011-05-21 23:24:35 -07:00
Michael Jard 78a4c71736 Add ability to silence callback handler 2011-05-21 21:06:22 -07:00
tj ea8495857e Better nick recapture 2011-02-03 01:16:13 +01:00
tj cf4e9f829a Crashfix on empty privmsg 2010-11-21 21:20:18 +01:00
tj deae8abc23 Use append built-in instead of custom function 2010-11-19 19:36:28 +01:00
tj fd854c475a Fix adding more then one callback for same eventcode, grow slice dynamically. 2010-10-09 15:11:28 +02:00
Thomas Jäger 3d0ffc5d06 Merge branch 'master' of git@github.com:thoj/Go-IRC-Client-Library 2010-09-23 18:56:15 +02:00
tj 1165a7fbf2 Fix compile + bit more robust reconnect code 2010-09-23 18:54:34 +02:00
tj bcec3b6f11 Prefix nick instead of suffix if the nick is in use and over 8 characters long 2010-08-08 23:10:54 +02:00
tj a557416dcf Better parameter order for ReplaceCallback 2010-03-12 21:55:56 +01:00
tj 2c7ddd7719 Fix time reply 2010-03-12 21:43:50 +01:00
tj 3cf868b6ef Fix time reply 2010-03-12 21:39:28 +01:00
tj 32ab9f2259 Nick already in use callback 2010-03-12 21:33:20 +01:00
tj efcb5f679d Add ReplaceCallback 2010-03-12 21:20:10 +01:00
Thomas Jager 0b97efd611 Compile fix for new go version of time 2010-01-18 22:51:32 +01:00
tj 1cabd322e1 Missing file 2010-01-06 19:37:07 +01:00