diff options
Diffstat (limited to 'lib/rbot/plugins/rot13.rb')
-rw-r--r-- | lib/rbot/plugins/rot13.rb | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/lib/rbot/plugins/rot13.rb b/lib/rbot/plugins/rot13.rb deleted file mode 100644 index 1f367dbd..00000000 --- a/lib/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") |