diff options
-rw-r--r-- | gentoo-data.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gentoo-data.rb b/gentoo-data.rb index e37d376..57cf6e6 100644 --- a/gentoo-data.rb +++ b/gentoo-data.rb @@ -215,7 +215,7 @@ class GentooPlugin < Plugin #res = @bot.httputil.get('https://dev.gentoo.org/~solar/.alias') res = @bot.httputil.get('https://dev.gentoo.org/.alias.cache') alias_hash = {} - for line in res + for line in res.split("\n") split_line = line.split(' = ') alias_hash[split_line[0]] = split_line[1] end |