Fix typo. HttpUserAgent -> HttpUserAgents (#1424)

Fixes typo in https://github.com/ProgVal/Limnoria/pull/1423
This commit is contained in:
Gordon Shumway 2020-07-11 18:13:13 -04:00 committed by GitHub
parent 73de5616e8
commit 4c4d0024ca
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1355,7 +1355,7 @@ class HttpUserAgents(registry.CommaSeparatedListOfStrings):
"""Must be a valid HTTP User-Agent value."""
__slots__ = ()
def setValue(self, v):
super(HttpUserAgent, self).setValue(v)
super(HttpUserAgents, self).setValue(v)
utils.web.defaultHeaders = defaultHttpHeaders(None, None)
registerChannelValue(supybot.protocols.http, 'requestLanguage',