unexist.dev

Changeset 353:b9521f6eec40

Fixed stupid syntax error
author unexist
date Thu, 24 Jan 2013 16:10:18 +0100
parents 80e3f79eb41c
children 8d79e93621e6
files bot/cinch.rb
diffstat 1 files changed, 4 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/bot/cinch.rb	Thu Jan 24 16:08:27 2013 +0100
+++ b/bot/cinch.rb	Thu Jan 24 16:10:18 2013 +0100
@@ -298,8 +298,10 @@
 
       # Fetch title
       page = case m.channel.name
-        when "#subtle" @agent.get("http://subforge.org/issues/%s" % id )
-        when "#kufa"   @agent.get("http://project.dynms.de/issues/%s" % id)
+        when "#subtle"
+          @agent.get("http://subforge.org/issues/%s" % id )
+        when "#kufa"
+          @agent.get("http://project.dynms.de/issues/%s" % id)
       end
 
       title  = page.title.gsub(/[\x00-\x1f]*/, "").gsub(/[ ]{2,}/, " ").strip