Commit 48aa8d0b authored by louiz’'s avatar louiz’

Actually have a random nick ONLY when our nick is RANDOM

parent 5ff6e2a8
......@@ -27,8 +27,9 @@ class Plugin(BasePlugin):
def change_nick_to_random(self, presence):
to = presence["to"]
to.resource = gen_nick(3)
presence["to"] = to
if to.resource == 'RANDOM':
to.resource = gen_nick(3)
presence["to"] = to
s = ["i", "ou", "ou", "on", "a", "o", "u", "i"]
c = ["b", "c", "d", "f", "g", "h", "j", "k", "m", "l", "n", "p", "r", "s", "t", "v", "z"]
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment