diff options
| author | 2016-11-12 11:03:36 +0000 | |
|---|---|---|
| committer | 2016-11-12 11:03:36 +0000 | |
| commit | fd80393e38490b84210b43d0b2384eb9b494c297 (patch) | |
| tree | e9f21f6a2a59f91a4c2c1de80afcdbff47c719b2 /IRCChannel.py | |
| parent | Correct 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.py | 2 |
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 |
