diff --git a/modules/ircv3_sasl/__init__.py b/modules/ircv3_sasl/__init__.py index b93c9b07..d66661b1 100644 --- a/modules/ircv3_sasl/__init__.py +++ b/modules/ircv3_sasl/__init__.py @@ -16,7 +16,7 @@ USERPASS_MECHANISMS = [ class SaslSetting(utils.Setting): def parse(self, value: str) -> typing.Any: mechanism, _, arguments = value.partition(" ") - return {"mechanism": mechanism, "args": arguments} + return {"mechanism": mechanism.upper(), "args": arguments} @utils.export("serverset", SaslSetting("sasl", "Set the sasl username/password for this server",