diff options
Diffstat (limited to 'lib/rbot/messagemapper.rb')
-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 |