diff options
Diffstat (limited to 'data/rbot/plugins/rot13.rb')
-rw-r--r-- | data/rbot/plugins/rot13.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/data/rbot/plugins/rot13.rb b/data/rbot/plugins/rot13.rb index 28e9243f..447d0803 100644 --- a/data/rbot/plugins/rot13.rb +++ b/data/rbot/plugins/rot13.rb @@ -3,8 +3,8 @@ class RotPlugin < Plugin "rot13 <string> => encode <string> to rot13 or back" end def rot13(m, params) - m.reply params[:string].tr("A-Za-z", "N-ZA-Mn-za-m"); + m.reply params[:string].join(" ").tr("A-Za-z", "N-ZA-Mn-za-m"); end end plugin = RotPlugin.new -plugin.map 'rot13 :string' +plugin.map 'rot13 *string' |