Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- SIGNAL_LAST {
- my ($server, $msg, $nick, $uh) =@_;
- my $own_nick = $server->{nick};
- Rei2::Core::Dispatcher::enter_event(
- backend => $server,
- type => PRIVATE,
- event_source => "$nick!$uh",
- contents => $msg,
- );
- Irssi::signal_stop();
- } 'message private';
- SIGNAL_LAST {
- my ($server, $msg, $nick, $uh, $channel) =@_;
- my $own_nick = $server->{nick};
- Rei2::Core::Dispatcher::enter_event(
- backend => $server,
- type => PUBLIC,
- event_source => "$nick!$uh",
- event_location => $channel,
- contents => $msg,
- );
- Irssi::signal_stop();
- } 'message public';
Advertisement
Add Comment
Please, Sign In to add comment