"paramatered" -> "parametered"
This commit is contained in:
parent
72840fc63f
commit
f9d5271762
3 changed files with 3 additions and 3 deletions
|
@ -46,7 +46,7 @@ def handle_005(events, event):
|
|||
if "CHANMODES" in isupport:
|
||||
modes = isupport["CHANMODES"].split(",", 3)
|
||||
event["server"].channel_list_modes = list(modes[0])
|
||||
event["server"].channel_paramatered_modes = list(modes[1])
|
||||
event["server"].channel_parametered_modes = list(modes[1])
|
||||
event["server"].channel_setting_modes = list(modes[2])
|
||||
event["server"].channel_modes = list(modes[3])
|
||||
if "CHANTYPES" in isupport:
|
||||
|
|
|
@ -118,7 +118,7 @@ class Channel(IRCObject.Object):
|
|||
new_arg = None
|
||||
if mode in self.server.channel_list_modes:
|
||||
new_arg = args.pop(0)
|
||||
elif (mode in self.server.channel_paramatered_modes or
|
||||
elif (mode in self.server.channel_parametered_modes or
|
||||
mode in self.server.prefix_modes):
|
||||
new_arg = args.pop(0)
|
||||
self.change_mode(remove, mode, new_arg)
|
||||
|
|
|
@ -52,7 +52,7 @@ class Server(IRCObject.Object):
|
|||
(("o", "@"), ("v", "+")))
|
||||
|
||||
self.channel_list_modes = ["b"] # type: typing.List[str]
|
||||
self.channel_paramatered_modes = ["k"] # type: typing.List[str]
|
||||
self.channel_parametered_modes = ["k"] # type: typing.List[str]
|
||||
self.channel_setting_modes = ["l"] # type: typing.List[str]
|
||||
self.channel_modes = [
|
||||
"n", "i", "m", "t", "p", "s"
|
||||
|
|
Loading…
Reference in a new issue