]> git.netwichtig.de Git - user/henk/code/ruby/rbot.git/blobdiff - data/rbot/plugins/games/uno.rb
markov plugin: don't echo a line a line that is just a substring of the input line
[user/henk/code/ruby/rbot.git] / data / rbot / plugins / games / uno.rb
index 640b28b14e077ab8994df74647147170c2bc958c..47fac28d52205109bf4a70abab358e53c99776e1 100644 (file)
@@ -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