aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobin H. Johnson <robbat2@gentoo.org>2008-08-21 19:56:23 +0000
committerRobin H. Johnson <robbat2@gentoo.org>2008-08-21 19:56:23 +0000
commit031edd72716c4373b75c69794303da8e81a1387c (patch)
tree9ec78c76c0e83db82235ac27b871a9337e89c5b7
parentadd alias for devaway. (diff)
downloadrbot-gentoo-031edd72716c4373b75c69794303da8e81a1387c.tar.gz
rbot-gentoo-031edd72716c4373b75c69794303da8e81a1387c.tar.bz2
rbot-gentoo-031edd72716c4373b75c69794303da8e81a1387c.zip
New URL for alias expansion.
-rw-r--r--gentoo-data.rb3
1 files changed, 2 insertions, 1 deletions
diff --git a/gentoo-data.rb b/gentoo-data.rb
index cac1c8f..70aa405 100644
--- a/gentoo-data.rb
+++ b/gentoo-data.rb
@@ -172,7 +172,8 @@ class GentooPlugin < Plugin
now = Time.now.tv_sec
unless @@cached['alias'] and @@cached['alias'][0] > now-600
#m.reply "Fetch #{@@cached['alias'][0]} > #{now-600}"
- res = @bot.httputil.get('http://dev.gentoo.org/~solar/.alias')
+ #res = @bot.httputil.get('http://dev.gentoo.org/~solar/.alias')
+ res = @bot.httputil.get('http://dev.gentoo.org/.alias.cache')
alias_hash = {}
for line in res
split_line = line.split(' = ')