Commit Graph
4 Commits
Author SHA1 Message Date
Andy Walker 03b22b08f4 Report on unterminated CTCP messages
A bug was discovered where, under certain circumstances that are still
being researched, the library would panic on a message that started with
\0x01, but did not end with it. This would cause the re-slice to panic,
because the library assumes a terminating index >0, effectively
introducing the possibility of msg = msg[1:0]. Since this violates the
CTCP spec, it is an error, and should be logged, along with the
complete, escaped message.
2015-07-30 12:58:23 -04:00
Andy Walker 6112236593 fix multi-kick
Spec defines multiple users as joined by spaces not commas
2015-07-30 12:57:48 -04:00
Andy Walker ad73608a87 add Kick and MultiKick commands 2015-07-21 18:41:16 -04:00
Andy Walker b49099e075 use rand.Seed() in init() to properly randomize 2015-07-20 16:13:15 -04:00