plugins/Gameknot.py: Add replyPossibleBug string to 'page format' error

src/conf.py: Fix a typo in replyPossibleBug string
This commit is contained in:
James Vega 2003-10-27 23:45:15 +00:00
parent d370c485f6
commit 6e911131fd
2 changed files with 3 additions and 2 deletions

View File

@ -148,7 +148,8 @@ class Gameknot(callbacks.PrivmsgCommandAndRegexp):
if ('User %s not found!' % name) in profile:
raise callbacks.Error, 'No user %s exists.' % name
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:
raise callbacks.Error, 'Couldn\'t connect to gameknot.com'

View File

@ -145,7 +145,7 @@ replyNotRegistered = 'You must be registered to use this command.'
replyInvalidArgument = 'I can\'t send \\r, \\n, or \\0 (\\x00).'
replyRequiresPrivacy = 'That can\'t be done in a channel.'
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/?' \
'func=add&group_id=58965&atid=489447>'