Unconditionally reschedule current activity switch timeout

This commit is contained in:
Dan Williams 2006-09-25 07:35:44 -04:00
parent 1070ed3ae6
commit aa0adcf0c5

View File

@ -38,8 +38,8 @@ class KiuBot(Bot):
if actid != self._curact: if actid != self._curact:
print "KIU: now setting current activity to %s" % actid print "KIU: now setting current activity to %s" % actid
self._owner.set_current_activity(actid) self._owner.set_current_activity(actid)
self._schedule_activity_switch_timeout()
self._curact = actid self._curact = actid
self._schedule_activity_switch_timeout()
return False return False
def _schedule_activity_switch_timeout(self): def _schedule_activity_switch_timeout(self):