From 86d93ab4be4b69650ab32dec4692cc14b349c622 Mon Sep 17 00:00:00 2001 From: GLolol Date: Sun, 2 Feb 2014 14:59:22 -0800 Subject: [PATCH] Isup: Update default settings --- Isup/config.py | 2 +- Isup/plugin.py | 3 +-- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/Isup/config.py b/Isup/config.py index 2eb2c7f..a2e89fb 100644 --- a/Isup/config.py +++ b/Isup/config.py @@ -58,6 +58,6 @@ conf.registerGlobalValue(Isup.replies, 'up', conf.registerGlobalValue(Isup.replies, 'down', registry.String("It's not just you. %s appears to be down.", _("""Determines the reply used when the site entered is down. Use '%s' in the value to substitute the URL given."""))) conf.registerGlobalValue(Isup.replies, 'unknown', - registry.String("Are you sure %s is a valid URL?", _("""Determines the reply to give when the site entered is unknown or invalid."""))) + registry.String("Invalid domain: %s", _("""Determines the reply to give when the site entered is unknown or invalid."""))) # vim:set shiftwidth=4 tabstop=4 expandtab textwidth=79: diff --git a/Isup/plugin.py b/Isup/plugin.py index 5da4687..0679f5d 100644 --- a/Isup/plugin.py +++ b/Isup/plugin.py @@ -74,8 +74,7 @@ class Isup(callbacks.Plugin): except: pass irc.reply(self._getreply(url)) - check = wrap(check, (['something'])) - + check = wrap(check, ['something']) Class = Isup # vim:set shiftwidth=4 softtabstop=4 expandtab textwidth=79: