Skip to content
This repository was archived by the owner on Mar 12, 2020. It is now read-only.

Commit 4e0feb2

Browse files
committed
ChannelFilter: corrected MODE parameter name
1 parent 778dfe7 commit 4e0feb2

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

src/ChannelFilter.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ class ChannelFilter implements FilterInterface
4040
protected $parameters = array(
4141
'JOIN' => 'channels',
4242
'PART' => 'channels',
43-
'MODE' => 'target',
43+
'MODE' => 'channel',
4444
'TOPIC' => 'channel',
4545
'KICK' => 'channel',
4646
'PRIVMSG' => 'receivers',

tests/ChannelFilterTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ public function dataProviderFilterPasses()
4747
$parameters = array(
4848
'JOIN' => 'channels',
4949
'PART' => 'channels',
50-
'MODE' => 'target',
50+
'MODE' => 'channel',
5151
'TOPIC' => 'channel',
5252
'KICK' => 'channel',
5353
'PRIVMSG' => 'receivers',

0 commit comments

Comments
 (0)