mirror of
https://github.com/Mikaela/Limnoria.git
synced 2024-11-27 05:09:23 +01:00
Slight doc/style updates.
This commit is contained in:
parent
6886a88d5c
commit
bfa2382aae
@ -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
|
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
|
auto-opping, auto-halfopping, or auto-voicing, as well as cycling an otherwise
|
||||||
empty channel in order to get ops.
|
empty channel in order to get ops.
|
||||||
|
@ -479,7 +479,7 @@ class IrcString(str):
|
|||||||
|
|
||||||
def __init__(self, s):
|
def __init__(self, s):
|
||||||
assert isinstance(s, basestring), \
|
assert isinstance(s, basestring), \
|
||||||
'Cannot make an IrcString from %s' % type(s)
|
'Cannot make an IrcString from %r' % s
|
||||||
self.lowered = toLower(s)
|
self.lowered = toLower(s)
|
||||||
|
|
||||||
def __eq__(self, s):
|
def __eq__(self, s):
|
||||||
|
Loading…
Reference in New Issue
Block a user