Changeset 50403


Ignore:
Timestamp:
Apr 30, 2009, 11:01:37 AM (12 years ago)
Author:
jmr@…
Message:

mpbot: make !faq and !guide work with no parameters

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/base/portmgr/bots/trac.rb

    r50402 r50403  
    5757plugin = TracPlugin.new
    5858plugin.map 'ticket :number', :action => 'ticket'
    59 plugin.map 'faq :parm', :action => 'faq'
    60 plugin.map 'guide :parm', :action => 'guide'
     59plugin.map 'faq :parm', :action => 'faq', :defaults => {:parm => ""}
     60plugin.map 'guide :parm', :action => 'guide', :defaults => {:parm => ""}
    6161plugin.map 'team', :action => 'team'
Note: See TracChangeset for help on using the changeset viewer.