aboutsummaryrefslogtreecommitdiff
path: root/IRCChannel.py
diff options
context:
space:
mode:
authorGravatar Evelyn2016-11-12 11:03:36 +0000
committerGravatar Evelyn2016-11-12 11:03:36 +0000
commitfd80393e38490b84210b43d0b2384eb9b494c297 (patch)
treee9f21f6a2a59f91a4c2c1de80afcdbff47c719b2 /IRCChannel.py
parentCorrect spelling of 'background' for color utils (diff)
Remove unnecessary uuid protection for IRCUser, add uuid for IRCChannel
Diffstat (limited to 'IRCChannel.py')
-rw-r--r--IRCChannel.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/IRCChannel.py b/IRCChannel.py
index f48f9d96..14de133f 100644
--- a/IRCChannel.py
+++ b/IRCChannel.py
@@ -1,7 +1,9 @@
+import uuid
import IRCLog
class Channel(object):
def __init__(self, name, server, bot):
+ self.id = uuid.uuid1().hex
self.name = name.lower()
self.server = server
self.bot = bot