summaryrefslogtreecommitdiff
path: root/lib/rbot/config.rb
diff options
context:
space:
mode:
authorGiuseppe Bilotta <giuseppe.bilotta@gmail.com>2011-04-02 10:54:15 +0200
committerGiuseppe Bilotta <giuseppe.bilotta@gmail.com>2011-04-02 10:54:15 +0200
commit979dfca5faff9e9ea52588220a862bed19a8c731 (patch)
tree88329d8213488d852918eb8fae1fbbd16967a26f /lib/rbot/config.rb
parent2e03322bb615cb8f2875691356b25d89f0f77d57 (diff)
utils: support new HTMLEntities interface
Since version 4.1.0, HTMLEntities removed the decode_entities() class method and uses a decoder since. Support the new interface as well as the old one. Also slightly optimize by moving the conditional outside of the method definition. Now a rescan is required even if HTMLEntities is loaded at runtime, but the method should be slightly faster.
Diffstat (limited to 'lib/rbot/config.rb')
0 files changed, 0 insertions, 0 deletions