summaryrefslogtreecommitdiff
path: root/rbot/plugins/rot13.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/rot13.rb
parent51cf09ec02d089bfdd80e5f728cfc92a234dc437 (diff)
rearrange repo for packaging
Diffstat (limited to 'rbot/plugins/rot13.rb')
-rw-r--r--rbot/plugins/rot13.rb14
1 files changed, 0 insertions, 14 deletions
diff --git a/rbot/plugins/rot13.rb b/rbot/plugins/rot13.rb
deleted file mode 100644
index 1f367dbd..00000000
--- a/rbot/plugins/rot13.rb
+++ /dev/null
@@ -1,14 +0,0 @@
-class RotPlugin < Plugin
- def help(plugin, topic="")
- "rot13 <string> => encode <string> to rot13 or back"
- end
- def privmsg(m)
- unless(m.params && m.params =~ /^.+$/)
- m.reply "incorrect usage: " + help(m.plugin)
- return
- end
- m.reply m.params.tr("A-Za-z", "N-ZA-Mn-za-m");
- end
-end
-plugin = RotPlugin.new
-plugin.register("rot13")