Fix for the TypeError bug.

This commit is contained in:
Jeremy Fincher 2004-08-27 15:01:28 +00:00
parent 5d837b9074
commit ca492afd38

View File

@ -116,7 +116,7 @@ class Later(callbacks.Privmsg):
if maximum and len(notes) >= maximum: if maximum and len(notes) >= maximum:
raise ValueError raise ValueError
else: else:
notes.append[(at, whence, text)] notes.append((at, whence, text))
except KeyError: except KeyError:
self.notes[nick] = [(at, whence, text)] self.notes[nick] = [(at, whence, text)]
if '?' in nick or '*' in nick and nick not in self.wildcards: if '?' in nick or '*' in nick and nick not in self.wildcards: