summaryrefslogtreecommitdiff
path: root/plugins/dice.py
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/dice.py')
-rw-r--r--plugins/dice.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/dice.py b/plugins/dice.py
index 376ed26a..55fd87a7 100644
--- a/plugins/dice.py
+++ b/plugins/dice.py
@@ -95,7 +95,7 @@ class Plugin(BasePlugin):
is_muctab = isinstance(tab, tabs.MucTab)
msg_id = tab.last_sent_message["id"]
increment = self.config.get('refresh')
- roll = DiceRoll(duration, num_dice, is_muctab, tab.name, msg_id,
+ roll = DiceRoll(duration, num_dice, is_muctab, tab.jid, msg_id,
increment)
event = self.api.create_delayed_event(increment, self.delayed_event,
roll)