From 180a824d1785af606b20ce630b8df46f368f1d83 Mon Sep 17 00:00:00 2001 From: Dmitry Kim Date: Sat, 24 Nov 2007 16:17:50 +0000 Subject: * (plugins/urban) CGI.escape -> URI.escape --- data/rbot/plugins/urban.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'data/rbot/plugins/urban.rb') 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) -- cgit v1.2.3