diff options
author | Giuseppe Bilotta <giuseppe.bilotta@gmail.com> | 2008-07-03 15:21:34 +0200 |
---|---|---|
committer | Giuseppe Bilotta <giuseppe.bilotta@gmail.com> | 2008-07-03 15:21:34 +0200 |
commit | 21d544c8fe764881ce324cf2e5aa6ec6e12dbbdb (patch) | |
tree | cef815f8866e3d032989a77ba70fafa4bb38e62e | |
parent | ac1c3c4a4cbd224dcca6abe540fecedb476151f5 (diff) |
UNO plugin: skip empty messages
-rw-r--r-- | data/rbot/plugins/games/uno.rb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/data/rbot/plugins/games/uno.rb b/data/rbot/plugins/games/uno.rb index 640b28b1..47fac28d 100644 --- a/data/rbot/plugins/games/uno.rb +++ b/data/rbot/plugins/games/uno.rb @@ -854,6 +854,7 @@ class UnoPlugin < Plugin def message(m) return unless @games.key?(m.channel) + return unless m.plugin # skip messages such as: <someuser> botname, g = @games[m.channel] case m.plugin.intern when :jo # join game |