forked from MarseyWorld/MarseyWorld
fix
parent
89c7599cc7
commit
a186064465
|
@ -52,7 +52,7 @@ class User(Base):
|
|||
profileurl = Column(String)
|
||||
bannerurl = Column(String)
|
||||
house = Column(String, default='')
|
||||
old_house = Column(String)
|
||||
old_house = Column(String, default='')
|
||||
patron = Column(Integer, default=0)
|
||||
patron_utc = Column(Integer, default=0)
|
||||
verified = Column(String)
|
||||
|
|
|
@ -69,10 +69,9 @@ def award_timers(v, bot=False):
|
|||
if v.bite and v.bite < now:
|
||||
v.bite = None
|
||||
|
||||
if v.old_house:
|
||||
notify_if_not_bot("Your vampire status has ended!")
|
||||
v.house = v.old_house
|
||||
v.old_house = ''
|
||||
notify_if_not_bot("Your vampire status has ended!")
|
||||
v.house = v.old_house
|
||||
v.old_house = ''
|
||||
|
||||
badge = v.has_badge(168)
|
||||
if badge: g.db.delete(badge)
|
||||
|
|
Loading…
Reference in New Issue