diff --git a/modules/line_handler.py b/modules/line_handler.py index 7b16e4ae..e2bbb3f7 100644 --- a/modules/line_handler.py +++ b/modules/line_handler.py @@ -107,6 +107,7 @@ class Module(ModuleManager.BaseModule): modes = isupport["CHANMODES"].split(",", 3) event["server"].channel_list_modes = list(modes[0]) event["server"].channel_paramatered_modes = list(modes[1]) + event["server"].channel_setting_modes = list(modes[2]) event["server"].channel_modes = list(modes[3]) if "CHANTYPES" in isupport: event["server"].channel_types = list(isupport["CHANTYPES"]) diff --git a/src/IRCServer.py b/src/IRCServer.py index 4c8ffec2..d3ced447 100644 --- a/src/IRCServer.py +++ b/src/IRCServer.py @@ -56,6 +56,7 @@ class Server(IRCObject.Object): (("o", "@"), ("v", "+"))) self.channel_modes = [] # type: typing.List[str] self.channel_list_modes = [] # type: typing.List[str] + self.channel_setting_modes = [] # type: typing.List[str] self.channel_paramatered_modes = [] # type: typing.List[str] self.channel_types = ["#"] self.case_mapping = "rfc1459"