summaryrefslogtreecommitdiff
path: root/data/rbot/plugins/urban.rb
diff options
context:
space:
mode:
Diffstat (limited to 'data/rbot/plugins/urban.rb')
-rw-r--r--data/rbot/plugins/urban.rb2
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)