3
0
mirror of https://github.com/jlu5/PyLink.git synced 2024-11-01 01:09:22 +01:00

classes.IrcChannel: default modes to +nt on join

This may have regressions; who knows...
This commit is contained in:
James Lu 2015-08-31 09:09:03 -07:00
parent d270a18285
commit 1062e47b72

View File

@ -299,7 +299,7 @@ class IrcServer():
class IrcChannel():
def __init__(self):
self.users = set()
self.modes = set()
self.modes = {('n', None), ('t', None)}
self.topic = ''
self.ts = int(time.time())
self.topicset = False