fipar/minibot — pull request #1 by martinarrieta (2012-11-29 01:36:17+00:00)
Title: panic catch!

The problem was that you was catching the error in the main funtion, and you have to do this in the "respond" function.

Here is the error:

2012/11/28 23:16:34 --> PRIVMSG #bottest :I have not seen test since I've started (2012-11-28 23:16 UYST)

panic: runtime error: integer divide by zero
[signal 0x8 code=0x7 addr=0x2a68 pc=0x2a68]

goroutine 15 [running]:
main.respond(0xf84004ed80, 0x0) <--- here is the name of the funtion that it is "panicing"

So I just move the defer to that function and it works.

:)

Martin