rfc2812: Fix multiple RPL_WHOISCHANNELS handling
authorRobin H. Johnson <robbat2@gentoo.org>
Sun, 7 Mar 2010 03:22:04 +0000 (03:22 +0000)
committerGiuseppe Bilotta <giuseppe.bilotta@gmail.com>
Sun, 7 Mar 2010 09:46:18 +0000 (10:46 +0100)
commit38c076622c020e509c8f1dca4e3168ea38f5999e
tree387fa8033a455fa8ed2da71c5cc42b8bec2fab82
parentf8acbf17ff67de70247671742b4bc4f321e71f17
rfc2812: Fix multiple RPL_WHOISCHANNELS handling

The new Freenode ircd returns multiple RPL_WHOISCHANNELS lines (split
based on length), and they must be merged, otherwise only the last ends
up as the list of channels that the bot is in.

Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
lib/rbot/rfc2812.rb