diff options
author | Giuseppe Bilotta <giuseppe.bilotta@gmail.com> | 2008-03-10 23:51:00 +0100 |
---|---|---|
committer | Giuseppe Bilotta <giuseppe.bilotta@gmail.com> | 2008-03-10 23:51:00 +0100 |
commit | 6e75d722a918654642d01b52018b97e84bee3180 (patch) | |
tree | 497b0406db6e8ee433012666ae955c8a00eb1f12 /lib/rbot/plugins/cal.rb | |
parent | 1ae131c231c308f13eaed68a3564c19f7eb7f2f1 (diff) |
svn import left spurious lib/rbot/plugins hanging around
Diffstat (limited to 'lib/rbot/plugins/cal.rb')
-rw-r--r-- | lib/rbot/plugins/cal.rb | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/lib/rbot/plugins/cal.rb b/lib/rbot/plugins/cal.rb deleted file mode 100644 index 4f28310b..00000000 --- a/lib/rbot/plugins/cal.rb +++ /dev/null @@ -1,15 +0,0 @@ -class CalPlugin < Plugin - def help(plugin, topic="") - "cal [options] => show current calendar [unix cal options]" - end - def cal(m, params) - if params.has_key?(:month) - m.reply Utils.safe_exec("cal", params[:month], params[:year]) - else - m.reply Utils.safe_exec("cal") - end - end -end -plugin = CalPlugin.new -plugin.map 'cal :month :year', :requirements => {:month => /^\d+$/, :year => /^\d+$/} -plugin.map 'cal' |