Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
whitelist pmurias's host
  • Loading branch information
zoffixznet committed Sep 16, 2018
1 parent 8348576 commit 7ebf814
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion bot.p6
Expand Up @@ -12,7 +12,10 @@ my %wait-list;
# :host<localhost>, :channels<#perl6-redirect>, :debug, :nick<p6bot>,
plugins =>
class :: does IRC::Client::Plugin {
multi method irc-join ($e where .nick ne $nick && (.host.contains: '/' or .nick.starts-with: 'travis-ci')) {
multi method irc-join ($e where .nick ne $nick && (.nick.starts-with: 'travis-ci'
or .host.contains: '/'
|'public-gprs202251.centertel.pl' # pmurias
)) {
$e.irc.send-cmd: 'MODE', $e.channel, '+v', $e.nick;
Nil
}
Expand Down

0 comments on commit 7ebf814

Please sign in to comment.