summaryrefslogtreecommitdiff
path: root/data/rbot
diff options
context:
space:
mode:
Diffstat (limited to 'data/rbot')
-rw-r--r--data/rbot/plugins/games/uno.rb5
1 files changed, 5 insertions, 0 deletions
diff --git a/data/rbot/plugins/games/uno.rb b/data/rbot/plugins/games/uno.rb
index e8330457..8fd0d087 100644
--- a/data/rbot/plugins/games/uno.rb
+++ b/data/rbot/plugins/games/uno.rb
@@ -906,6 +906,11 @@ class UnoPlugin < Plugin
@games[m.channel].end_game(true)
end
+ def cleanup
+ @games.each { |k, g| g.end_game(true) }
+ super
+ end
+
def chan_reg(channel)
@registry.sub_registry(channel.downcase)
end