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

IrcChannel: don't assume +nt on new channels

Revert "classes.IrcChannel: default modes to +nt on join"

This reverts commit 1062e47b72.
This commit is contained in:
James Lu 2017-01-01 00:37:12 -08:00
parent dc11638eb9
commit 1a1dff7609

View File

@ -1117,7 +1117,7 @@ class IrcChannel():
def __init__(self, name=None):
# Initialize variables, such as the topic, user list, TS, who's opped, etc.
self.users = set()
self.modes = {('n', None), ('t', None)}
self.modes = set()
self.topic = ''
self.ts = int(time.time())
self.prefixmodes = {'op': set(), 'halfop': set(), 'voice': set(),