Changeset 1e9373e223fe142fb412f268d33e993a09d4d818
- Timestamp:
- 03/28/08 02:02:53 (2 years ago)
- Author:
- dmitry kim <jason@…>
- Children:
- 5f25e65756ff3428226559e301e9074a4b660e69
- Parents:
- 33f1c8ddc1f4c9f897f3b194a44faa1834f61566
- git-committer:
- dmitry kim <jason@nichego.net> 1206658973 +0300
- Message:
-
+ rss.rb: optional :delay param to '!rss rewatch'
- Files:
-
Legend:
- Unmodified
- Added
- Removed
-
|
ree04b98
|
r1e9373e
|
|
| 804 | 804 | feed = @feeds.fetch(handle.downcase, nil) |
| 805 | 805 | if feed |
| 806 | | @bot.timer.reschedule(@watch[feed.handle], 0) |
| | 806 | @bot.timer.reschedule(@watch[feed.handle], (params[:delay] || 0).to_f) |
| 807 | 807 | m.okay if m |
| 808 | 808 | else |
| … |
… |
|
| 1191 | 1191 | plugin.map 'rss rmwatch :handle [in :chan]', |
| 1192 | 1192 | :action => 'unwatch_rss' |
| 1193 | | plugin.map 'rss rewatch [:handle]', |
| | 1193 | plugin.map 'rss rewatch [:handle] [:delay]', |
| 1194 | 1194 | :action => 'rewatch_rss' |
| 1195 | 1195 | plugin.map 'rss types', |