rss: configurable announce method
authorGiuseppe Bilotta <giuseppe.bilotta@gmail.com>
Sun, 15 Mar 2009 10:04:24 +0000 (11:04 +0100)
committerGiuseppe Bilotta <giuseppe.bilotta@gmail.com>
Sun, 15 Mar 2009 10:04:24 +0000 (11:04 +0100)
commite51c1c0156538d07d1eb1bf15a334c5164401448
tree27cba2b9b4d18010ac0b21a14502f09176f85265
parent129f8c4f5678ab4a753ddb8ffb3088835d17d4d4
rss: configurable announce method

Since the RSS update announcements do not expect any form of reply,
they could be considered the typical IRC message that should use
NOTICE rather than PRIVMSG.

However, for backwards compatibility and since NOTICEs are not always
appreciated (and since their handling from clients is not always
optimal, either), we still allow rss announces to use the traditional
method, and that is in fact selected as default. Explicit rss show
request always go with PRIVMSG.
data/rbot/plugins/rss.rb