mirror of
https://github.com/Mikaela/Limnoria.git
synced 2024-12-26 04:32:51 +01:00
Update default user agent to mention Limnoria
This commit is contained in:
parent
abe59022b4
commit
12c526bc1c
@ -71,7 +71,7 @@ allowDefaultOwner = False
|
||||
# Here we replace values in other modules as appropriate.
|
||||
###
|
||||
utils.web.defaultHeaders['User-agent'] = \
|
||||
'Mozilla/5.0 (Compatible; Supybot %s)' % version
|
||||
'Mozilla/5.0 (Compatible; Limnoria %s)' % version
|
||||
|
||||
###
|
||||
# The standard registry.
|
||||
|
@ -118,7 +118,7 @@ def strError(e):
|
||||
|
||||
# Used to build defaultHeaders
|
||||
baseDefaultHeaders = {
|
||||
'User-agent': 'Mozilla/5.0 (compatible; utils.web python module)'
|
||||
'User-agent': 'Mozilla/5.0 (compatible; utils.web Limnoria module)'
|
||||
}
|
||||
|
||||
# overridable by other modules/plugins.
|
||||
|
Loading…
Reference in New Issue
Block a user