blakesmith/flamethrower — pull request #17 by ericboehs (2012-03-24 07:20:45+00:00)
Title: Fix for compatibility with weechat

Hi!

When connecting to flamethrower with weechat, weechat would disconnect after a minute because it never received a message 001 from flamethrower. Also, you couldn't join a room in weechat because flamethrower didn't send a JOIN #room_name message (like it does for PARTs).

I have added these capabilities. I also added tests for them however I wasn't able to actually run them. :( EventMachine was seg faulting on my machine (Ubuntu 11.10) and apparently this is a known issue. I hope the tests work but let me know if they don't and I'll spin up a Ubuntu 11.04 box and fix them.

* When a client connects a first message (001) should be sent
* When joining a room, the server should send back a JOIN #room_name
message