diff options
author | href <href@random.sh> | 2018-05-02 19:03:35 +0200 |
---|---|---|
committer | href <href@random.sh> | 2018-05-02 19:04:28 +0200 |
commit | a47dc245808921309f58e8b1c4b6fa028b2df073 (patch) | |
tree | 1842d413f2a43d3759b439417f053052b878a1f7 /lib/lsg_irc/kick_roulette_handler.ex | |
parent | … (diff) |
meh
Diffstat (limited to 'lib/lsg_irc/kick_roulette_handler.ex')
-rw-r--r-- | lib/lsg_irc/kick_roulette_handler.ex | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/lsg_irc/kick_roulette_handler.ex b/lib/lsg_irc/kick_roulette_handler.ex index 3591b5e..ece1b95 100644 --- a/lib/lsg_irc/kick_roulette_handler.ex +++ b/lib/lsg_irc/kick_roulette_handler.ex @@ -18,7 +18,7 @@ defmodule LSG.IRC.KickRouletteHandler do def handle_info({:received, "!kick", sender, chan}, client) do if 5 == :crypto.rand_uniform(1, 6) do spawn(fn() -> - :timer.sleep(:crypto.rand_uniform(500, 15_000)) + :timer.sleep(:crypto.rand_uniform(200, 10_000)) ExIRC.Client.kick(client, chan, sender.nick, "perdu") end) end |