minor error correction

This commit is contained in:
BaerbelBox
2022-06-20 09:31:25 +02:00
parent 8e665cd64f
commit 6a2547ec3f

View File

@@ -77,7 +77,7 @@ class DuckObserver(PrivMsgObserverPrototype, PingObserverPrototype):
def update_on_ping(self, data, connection: Connection): def update_on_ping(self, data, connection: Connection):
if self.active == 0: if self.active == 0:
return return
if 1 == randint(1,1): if 1 == randint(1,15):
if self.duck_alive == 0: if self.duck_alive == 0:
connection.send_channel("*. *. *. * <<w°)> *. *. * Quack!") connection.send_channel("*. *. *. * <<w°)> *. *. * Quack!")
self.duck_alive = 1 self.duck_alive = 1