[50333] trunk/base/portmgr/bots/trac.rb
anddam at macports.org
anddam at macports.org
Wed Apr 29 03:06:37 PDT 2009
Revision: 50333
http://trac.macports.org/changeset/50333
Author: anddam at macports.org
Date: 2009-04-29 03:06:36 -0700 (Wed, 29 Apr 2009)
Log Message:
-----------
mpbot trac module fix.
Modified Paths:
--------------
trunk/base/portmgr/bots/trac.rb
Modified: trunk/base/portmgr/bots/trac.rb
===================================================================
--- trunk/base/portmgr/bots/trac.rb 2009-04-29 09:54:47 UTC (rev 50332)
+++ trunk/base/portmgr/bots/trac.rb 2009-04-29 10:06:36 UTC (rev 50333)
@@ -18,9 +18,9 @@
when "ticket"
return "ticket <ticket no.> => show http link for ticket # <ticket no.>"
when "faq"
- return "faq [help] => show FAQs' URL or help"
+ return "faq => show FAQs' URL"
when "guide"
- return "guide [help] => show The Guide's URL or help. Don't Panic."
+ return "guide [chunked] => show The Guide's URL. Don't Panic."
else
return "trac module provides: !ticket, !faq, !guide"
end
@@ -37,18 +37,12 @@
end
def faq(m, params)
- if ( params[:parm] )
- m.reply "Just type !faq for now"
- else
- m.reply "FAQs are at: http://trac.macports.org/wiki/FAQ"
- end
+ m.reply "FAQs are at: http://trac.macports.org/wiki/FAQ"
end
def guide(m, params)
if ( params[:parm] == "chunked" )
m.reply "http://guide.macports.org/chunked/index.html"
- elsif ( params[:parm] != "" )
- m.reply "Just type !faq for now"
else
m.reply "http://guide.macports.org/"
end
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20090429/adb2f74a/attachment.html>
More information about the macports-changes
mailing list