chiark / gitweb /
correct thinko so we dont load flirst into self.trouts
authormatthew <matthew>
Thu, 3 Oct 2002 08:39:20 +0000 (08:39 +0000)
committermatthew <matthew>
Thu, 3 Oct 2002 08:39:20 +0000 (08:39 +0000)
acrobat-chiark-0.2.py

index 5ee0fd8..c9e6b3d 100755 (executable)
@@ -233,7 +233,7 @@ class Acrobat(SingleServerIRCBot):
                 self.trouts = [l.strip() for l in f.readlines() if l.find("%s") != -1]
                 f.close()
                 f = open("flirts", "r")
-                self.trouts = [l.strip() for l in f.readlines() if l.find("%s") != -1]
+                self.flirts = [l.strip() for l in f.readlines() if l.find("%s") != -1]
                 conn.notice(nick, "I am re-armed!")
             except IOError:
                 conn.notice(nick, "Trout re-arming failed!")