mirror of
https://github.com/jlu5/PyLink.git
synced 2024-11-27 13:09:23 +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:
parent
dc11638eb9
commit
1a1dff7609
@ -1117,7 +1117,7 @@ class IrcChannel():
|
|||||||
def __init__(self, name=None):
|
def __init__(self, name=None):
|
||||||
# Initialize variables, such as the topic, user list, TS, who's opped, etc.
|
# Initialize variables, such as the topic, user list, TS, who's opped, etc.
|
||||||
self.users = set()
|
self.users = set()
|
||||||
self.modes = {('n', None), ('t', None)}
|
self.modes = set()
|
||||||
self.topic = ''
|
self.topic = ''
|
||||||
self.ts = int(time.time())
|
self.ts = int(time.time())
|
||||||
self.prefixmodes = {'op': set(), 'halfop': set(), 'voice': set(),
|
self.prefixmodes = {'op': set(), 'halfop': set(), 'voice': set(),
|
||||||
|
Loading…
Reference in New Issue
Block a user