From 21949774b91eaec6ecde4eaa8ad121e2c0a36b87 Mon Sep 17 00:00:00 2001 From: Tom Gilbert Date: Wed, 27 Jul 2005 15:59:13 +0000 Subject: rearrange repo for packaging --- rbot/plugins/rot13.rb | 14 -------------- 1 file changed, 14 deletions(-) delete mode 100644 rbot/plugins/rot13.rb (limited to 'rbot/plugins/rot13.rb') 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 => encode 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") -- cgit v1.2.3