diff options
Diffstat (limited to 'actions/part.py')
| -rw-r--r-- | actions/part.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/actions/part.py b/actions/part.py index f55e63f..508a44a 100644 --- a/actions/part.py +++ b/actions/part.py | |||
| @@ -4,4 +4,5 @@ class part: | |||
| 4 | self = [] | 4 | self = [] |
| 5 | 5 | ||
| 6 | def getAction(self, data): | 6 | def getAction(self, data): |
| 7 | return 'PART ' + data[data.index('part')+5:] | 7 | channel = data.params.split(' ')[3] |
| 8 | return 'PART ' + channel | ||