mirror of
https://github.com/Mikaela/Limnoria.git
synced 2024-11-26 20:59:27 +01:00
Fix typo. HttpUserAgent -> HttpUserAgents (#1424)
Fixes typo in https://github.com/ProgVal/Limnoria/pull/1423
This commit is contained in:
parent
73de5616e8
commit
4c4d0024ca
@ -1355,7 +1355,7 @@ class HttpUserAgents(registry.CommaSeparatedListOfStrings):
|
|||||||
"""Must be a valid HTTP User-Agent value."""
|
"""Must be a valid HTTP User-Agent value."""
|
||||||
__slots__ = ()
|
__slots__ = ()
|
||||||
def setValue(self, v):
|
def setValue(self, v):
|
||||||
super(HttpUserAgent, self).setValue(v)
|
super(HttpUserAgents, self).setValue(v)
|
||||||
utils.web.defaultHeaders = defaultHttpHeaders(None, None)
|
utils.web.defaultHeaders = defaultHttpHeaders(None, None)
|
||||||
|
|
||||||
registerChannelValue(supybot.protocols.http, 'requestLanguage',
|
registerChannelValue(supybot.protocols.http, 'requestLanguage',
|
||||||
|
Loading…
Reference in New Issue
Block a user