From 6e911131fdb9bf037d8aff71cba9d6224668fd43 Mon Sep 17 00:00:00 2001 From: James Vega Date: Mon, 27 Oct 2003 23:45:15 +0000 Subject: [PATCH] plugins/Gameknot.py: Add replyPossibleBug string to 'page format' error src/conf.py: Fix a typo in replyPossibleBug string --- plugins/Gameknot.py | 3 ++- src/conf.py | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/plugins/Gameknot.py b/plugins/Gameknot.py index 3ba2b6be5..edcecb38d 100644 --- a/plugins/Gameknot.py +++ b/plugins/Gameknot.py @@ -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' diff --git a/src/conf.py b/src/conf.py index beab5b672..016771b08 100644 --- a/src/conf.py +++ b/src/conf.py @@ -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 '