aboutsummaryrefslogtreecommitdiff
path: root/IRCChannel.py
diff options
context:
space:
mode:
authorGravatar jesopo2018-09-11 08:52:12 +0100
committerGravatar jesopo2018-09-11 08:52:12 +0100
commit6c8399fa0fdcc42516cf72c0cfe78791b2ae93c7 (patch)
treea4c1809e92fd80086a2fce51e0a0dce91b81f70c /IRCChannel.py
parentPass around an IRCPrefix object instead of "nickname!username@hostname", fix a (diff)
signature
Respect RFC1459 casemapping rules
Diffstat (limited to 'IRCChannel.py')
-rw-r--r--IRCChannel.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/IRCChannel.py b/IRCChannel.py
index 0dfd6884..00407772 100644
--- a/IRCChannel.py
+++ b/IRCChannel.py
@@ -1,9 +1,9 @@
import uuid
-import IRCBuffer
+import IRCBuffer, Utils
class Channel(object):
def __init__(self, name, id, server, bot):
- self.name = name.lower()
+ self.name = Utils.irc_lower(name)
self.id = id
self.server = server
self.bot = bot