aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--modules/vote.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/vote.py b/modules/vote.py
index 728c1bd5..5cccaec3 100644
--- a/modules/vote.py
+++ b/modules/vote.py
@@ -11,7 +11,7 @@ class Module(ModuleManager.BaseModule):
def _random_id(self, channel):
while True:
- vote_id = binascii.hexlify(os.urandom(4)).decode("ascii")
+ vote_id = binascii.hexlify(os.urandom(3)).decode("ascii")
if self._get_vote(channel, vote_id) == None:
return vote_id