summaryrefslogtreecommitdiff
path: root/rbot/plugins/cal.rb
diff options
context:
space:
mode:
authorTom Gilbert <tom@linuxbrit.co.uk>2005-07-27 15:59:13 +0000
committerTom Gilbert <tom@linuxbrit.co.uk>2005-07-27 15:59:13 +0000
commit21949774b91eaec6ecde4eaa8ad121e2c0a36b87 (patch)
tree41a7601e168018ac203bad7ca8d7f9f82515bc28 /rbot/plugins/cal.rb
parent51cf09ec02d089bfdd80e5f728cfc92a234dc437 (diff)
rearrange repo for packaging
Diffstat (limited to 'rbot/plugins/cal.rb')
-rw-r--r--rbot/plugins/cal.rb15
1 files changed, 0 insertions, 15 deletions
diff --git a/rbot/plugins/cal.rb b/rbot/plugins/cal.rb
deleted file mode 100644
index 4f28310b..00000000
--- a/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'