diff options
Diffstat (limited to 'actions/voice.py')
| -rw-r--r-- | actions/voice.py | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/actions/voice.py b/actions/voice.py index fe42d05..ea72d4f 100644 --- a/actions/voice.py +++ b/actions/voice.py | |||
| @@ -4,5 +4,6 @@ class voice: | |||
| 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 | ||