summaryrefslogtreecommitdiffstats
path: root/actions/devoice.py
diff options
context:
space:
mode:
Diffstat (limited to 'actions/devoice.py')
-rw-r--r--actions/devoice.py5
1 files changed, 3 insertions, 2 deletions
diff --git a/actions/devoice.py b/actions/devoice.py
index 9539634..e820466 100644
--- a/actions/devoice.py
+++ b/actions/devoice.py
@@ -4,5 +4,6 @@ class devoice:
4 self = [] 4 self = []
5 5
6 def getAction(self, data): 6 def getAction(self, data):
7 input = data.split(' ') 7 channel = data.params[0:data.params.index(' ')]
8 return 'MODE ' + input[5] + ' -v ' + input[6] 8 user = data.params.split(' ')[3]
9 return 'MODE ' + channel + ' -v ' + user