… | |
… | |
97 | ) for grep { $_->ob->{ext_ignore_shout}{$name} < $NOW } cf::player::list; |
97 | ) for grep { $_->ob->{ext_ignore_shout}{$name} < $NOW } cf::player::list; |
98 | cf::LOG cf::llevDebug, sprintf "QBERT [%s] %s\n", "$name/$nick", $tmsg; |
98 | cf::LOG cf::llevDebug, sprintf "QBERT [%s] %s\n", "$name/$nick", $tmsg; |
99 | } |
99 | } |
100 | }, |
100 | }, |
101 | connect => sub { |
101 | connect => sub { |
|
|
102 | my ($con, $error) = @_; |
|
|
103 | |
|
|
104 | if ($error) { |
|
|
105 | warn "IRC: CONNECT ERROR to IRC server: $BOTSERVER:$BOTPORT: $error\n"; |
|
|
106 | undef $CON; |
|
|
107 | |
|
|
108 | } else { |
102 | warn "IRC: connected to IRC server: $BOTSERVER:$BOTPORT\n"; |
109 | warn "IRC: connected to IRC server: $BOTSERVER:$BOTPORT\n"; |
|
|
110 | } |
103 | }, |
111 | }, |
104 | registered => sub { |
112 | registered => sub { |
105 | warn "IRC: successfully logged into IRC server: $BOTSERVER:$BOTPORT\n"; |
113 | warn "IRC: successfully logged into IRC server: $BOTSERVER:$BOTPORT\n"; |
106 | }, |
114 | }, |
107 | error => sub { |
115 | error => sub { |