From be805c5e8abd50f0fde2fe0af6bcca5850afc742 Mon Sep 17 00:00:00 2001 From: Giuseppe Bilotta Date: Thu, 13 Dec 2007 10:47:29 +0000 Subject: messagemapper: fix set_auth_path() logic --- lib/rbot/messagemapper.rb | 1 + 1 file changed, 1 insertion(+) 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 -- cgit v1.2.3