summaryrefslogtreecommitdiffstats
path: root/actions/coin.py
diff options
context:
space:
mode:
Diffstat (limited to 'actions/coin.py')
-rw-r--r--actions/coin.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/actions/coin.py b/actions/coin.py
index 05dfbda..36392af 100644
--- a/actions/coin.py
+++ b/actions/coin.py
@@ -13,5 +13,5 @@ class coin:
13 thecoin = "The coin lands on HEAD." 13 thecoin = "The coin lands on HEAD."
14 else: 14 else:
15 thecoin = "The coin lands on TAILS." 15 thecoin = "The coin lands on TAILS."
16 input = data.split(' ') 16 channel = data.params[0:data.params.index(' ')]
17 return 'PRIVMSG ' + input[4] + ' :' + thecoin 17 return 'PRIVMSG ' + channel + ' :' + thecoin