mirror of
https://github.com/Mikaela/Limnoria.git
synced 2024-12-12 13:19:49 +01:00
plugins/Gameknot.py: Add replyPossibleBug string to 'page format' error
src/conf.py: Fix a typo in replyPossibleBug string
This commit is contained in:
parent
d370c485f6
commit
6e911131fd
@ -148,7 +148,8 @@ class Gameknot(callbacks.PrivmsgCommandAndRegexp):
|
|||||||
if ('User %s not found!' % name) in profile:
|
if ('User %s not found!' % name) in profile:
|
||||||
raise callbacks.Error, 'No user %s exists.' % name
|
raise callbacks.Error, 'No user %s exists.' % name
|
||||||
else:
|
else:
|
||||||
raise callbacks.Error, 'The format of the page was odd.'
|
raise callbacks.Error, 'The format of the page was odd. %s' %\
|
||||||
|
conf.replyPossibleBug
|
||||||
except urllib2.URLError:
|
except urllib2.URLError:
|
||||||
raise callbacks.Error, 'Couldn\'t connect to gameknot.com'
|
raise callbacks.Error, 'Couldn\'t connect to gameknot.com'
|
||||||
|
|
||||||
|
@ -145,7 +145,7 @@ replyNotRegistered = 'You must be registered to use this command.'
|
|||||||
replyInvalidArgument = 'I can\'t send \\r, \\n, or \\0 (\\x00).'
|
replyInvalidArgument = 'I can\'t send \\r, \\n, or \\0 (\\x00).'
|
||||||
replyRequiresPrivacy = 'That can\'t be done in a channel.'
|
replyRequiresPrivacy = 'That can\'t be done in a channel.'
|
||||||
replyEvalNotAllowed = 'You must enable conf.allowEval for that to work.'
|
replyEvalNotAllowed = 'You must enable conf.allowEval for that to work.'
|
||||||
replyPossibleBug = 'This may be a bug. If you think it is, please file a bug' \
|
replyPossibleBug = 'This may be a bug. If you think it is, please file a bug '\
|
||||||
'report at <http://sourceforge.net/tracker/?' \
|
'report at <http://sourceforge.net/tracker/?' \
|
||||||
'func=add&group_id=58965&atid=489447>'
|
'func=add&group_id=58965&atid=489447>'
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user