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'