Fix lint error
This commit is contained in:
parent
70a8e8b6e8
commit
14cfdeca92
|
@ -50,7 +50,7 @@ abstract class PhabricatorIRCHandler {
|
|||
}
|
||||
|
||||
final protected function isChannelName($name) {
|
||||
return (strpos($name, '#') === 0);
|
||||
return (strncmp($name, '#', 1) === 0);
|
||||
}
|
||||
|
||||
abstract public function receiveMessage(PhabricatorIRCMessage $message);
|
||||
|
|
Loading…
Reference in a new issue