master
Aevann1 2022-09-17 14:15:22 +02:00
parent 89c7599cc7
commit a186064465
2 changed files with 4 additions and 5 deletions

View File

@ -52,7 +52,7 @@ class User(Base):
profileurl = Column(String) profileurl = Column(String)
bannerurl = Column(String) bannerurl = Column(String)
house = Column(String, default='') house = Column(String, default='')
old_house = Column(String) old_house = Column(String, default='')
patron = Column(Integer, default=0) patron = Column(Integer, default=0)
patron_utc = Column(Integer, default=0) patron_utc = Column(Integer, default=0)
verified = Column(String) verified = Column(String)

View File

@ -69,7 +69,6 @@ def award_timers(v, bot=False):
if v.bite and v.bite < now: if v.bite and v.bite < now:
v.bite = None v.bite = None
if v.old_house:
notify_if_not_bot("Your vampire status has ended!") notify_if_not_bot("Your vampire status has ended!")
v.house = v.old_house v.house = v.old_house
v.old_house = '' v.old_house = ''