diff --git a/plugins/Enforcer.py b/plugins/Enforcer.py index 1a2a46ae4..e01c83a89 100644 --- a/plugins/Enforcer.py +++ b/plugins/Enforcer.py @@ -30,7 +30,7 @@ ### """ -Enforcer: Enforces capabilities on a channel, watching MODEs, KICKs, +Enforces capabilities on a channel, watching MODEs, KICKs, JOINs, etc. to make sure they match the channel's config. Also handles auto-opping, auto-halfopping, or auto-voicing, as well as cycling an otherwise empty channel in order to get ops. diff --git a/src/ircutils.py b/src/ircutils.py index 8a6ab9cee..71ebf33a9 100644 --- a/src/ircutils.py +++ b/src/ircutils.py @@ -479,7 +479,7 @@ class IrcString(str): def __init__(self, s): assert isinstance(s, basestring), \ - 'Cannot make an IrcString from %s' % type(s) + 'Cannot make an IrcString from %r' % s self.lowered = toLower(s) def __eq__(self, s):