diff options
author | Dmitry Kim <dmitry point kim at gmail point com> | 2007-11-24 16:17:50 +0000 |
---|---|---|
committer | Dmitry Kim <dmitry point kim at gmail point com> | 2007-11-24 16:17:50 +0000 |
commit | 180a824d1785af606b20ce630b8df46f368f1d83 (patch) | |
tree | fb64052c5085ab80dae81ac6f3bf5f232d7c89e2 | |
parent | a10c409b416f6f6eeba937ca6d94917eddc552a8 (diff) |
* (plugins/urban) CGI.escape -> URI.escape
-rw-r--r-- | data/rbot/plugins/urban.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/data/rbot/plugins/urban.rb b/data/rbot/plugins/urban.rb index 6cb166a8..b8177e65 100644 --- a/data/rbot/plugins/urban.rb +++ b/data/rbot/plugins/urban.rb @@ -13,7 +13,7 @@ class UrbanPlugin < Plugin def get_def(m, word, n = nil) n = n ? n.to_i : 1 - u = URBAN + CGI.escape(word) + u = URBAN + URI.escape(word) u += '&skip=' + n.to_s if n s = @bot.httputil.get(u) |