Commit Graph

27 Commits (master)

Author SHA1 Message Date
Robert Gerus acad1ec1cb Use external dyncfg. 2015-12-14 14:58:42 +01:00
Robert Gerus 54728173b2 Adjust main file to changes in bot. 2015-12-12 13:03:02 +01:00
Robert Gerus 6bc3f2fdd4 Adjust main file to changes in config. 2015-12-12 12:35:30 +01:00
Robert Gerus 14b8f803b5 Use new config interfaces in gorepost.go 2015-11-18 14:07:38 +01:00
Robert Gerus 0598ee7a91 Fix godoc a bit. 2015-11-16 20:25:18 +01:00
Robert Gerus 0703291209 Add copyright headers. 2015-11-12 10:07:53 +01:00
Robert Gerus 6c77cdf7f7 Code cleanup - do away with exports 2015-11-11 21:38:33 +01:00
Robert Gerus 0733990a9c Do away with connections variable.
Shadowing conn inside the loop feels better.
2015-11-11 11:50:29 +01:00
Robert Gerus ce42674f5d Reordered configuration file lookup paths 2015-11-11 01:11:50 +01:00
Robert Gerus 99759ea732 Remove file path builder function from main() 2015-11-10 22:12:36 +01:00
Robert Gerus 1d792397cd Removed lots of old code and fixed #6 2015-11-10 21:57:31 +01:00
Robert Gerus 1c1f280262 Fix #7 - config package is now reusable
Replaced Config type with map[string]string in the process.
2015-11-10 21:00:40 +01:00
Robert Gerus ef80bcd387 It /mostly/ works now. 2015-11-10 00:13:30 +01:00
Robert Gerus 1ad852888a It's hierryfying and does not build… yet 2015-11-09 14:32:26 +01:00
Robert Gerus 2c0955a168 Make Callbacks a map of maps; Fixes #3 2015-11-09 08:00:13 +01:00
Robert Gerus d5623a1ca2 Join configured channels. 2015-11-09 02:06:43 +01:00
Robert Gerus fb8e2d8392 Print a nicer error messages on startup 2015-11-09 01:05:06 +01:00
Robert Gerus 7a8c07445e Fix the synchronisation issues… 2015-11-08 22:00:33 +01:00
Robert Gerus 6ad165c880 It responds to pings now 2015-11-08 20:55:47 +01:00
Robert Gerus 762b005b9b Things start work, finally. 2015-11-07 12:51:45 +01:00
Robert Gerus e4f95d5909 Expose username and realname to configuration and make use of it in irc.Dial() 2015-10-20 10:59:13 +02:00
Robert Gerus 9899f9b836 Actually try to spawn network connections now. 2015-10-20 02:59:05 +02:00
Robert Gerus 834a4c527a Speaking of our own little irc connection lib… 2015-10-20 01:56:34 +02:00
Robert Gerus 98e56152a5 go fmt + some other stuff i do not really remember now. 2015-10-20 01:54:07 +02:00
Robert Gerus 5e6591591f I think these things should work, but yeah… not yet tested. 2015-10-19 10:37:08 +02:00
Robert Gerus fefd916dcc Yay, we can now read our own configuration file. 2015-10-15 21:04:24 +02:00
Robert Gerus 20652578dc Some stubs and a possibly working config class. 2015-10-15 16:50:32 +02:00