diff options
author | Giuseppe Bilotta <giuseppe.bilotta@gmail.com> | 2007-12-13 10:47:29 +0000 |
---|---|---|
committer | Giuseppe Bilotta <giuseppe.bilotta@gmail.com> | 2007-12-13 10:47:29 +0000 |
commit | be805c5e8abd50f0fde2fe0af6bcca5850afc742 (patch) | |
tree | ec957feb2609763c1f9fb79a5ec2d15bfa1d17f9 /lib | |
parent | e9c6f14aef48ce01e802a15ee6bea520b38227f9 (diff) |
messagemapper: fix set_auth_path() logic
Diffstat (limited to 'lib')
-rw-r--r-- | lib/rbot/messagemapper.rb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/rbot/messagemapper.rb b/lib/rbot/messagemapper.rb index 8b52baa4..62543f32 100644 --- a/lib/rbot/messagemapper.rb +++ b/lib/rbot/messagemapper.rb @@ -413,6 +413,7 @@ class Bot end pre = nil if extra.sub!(/^!/, "") post = nil if extra.sub!(/!$/, "") + extra = nil if extra.empty? else extra = nil end |