# none
sub add_nick {
my ($heap, $who, $channel, $session) = @_;
- print_msg("add_nick($who, $channel, $session)", DEBUG2);
+ print_msg("add_nick($who, channel: $channel, session: $session)", DEBUG2);
my %channels = %{$heap->{'chan_data_' . $session}};
my @nicknames = ();
sub remove_nick {
my ($heap, $who, $channel, $session) = @_;
if (defined($channel)) {
- print_msg("remove_nick($who, $channel, $session)", DEBUG2);
+ print_msg("remove_nick($who, channel: $channel, session: $session)", DEBUG2);
} else {
- print_msg("remove_nick($who, $session)", DEBUG2);
+ print_msg("remove_nick($who, session: $session)", DEBUG2);
}
my %channels = %{$heap->{'chan_data_' . $session}};
# none
sub remove_channel {
my ($heap, $channel, $session) = @_;
- print_msg("remove_channel($channel, $session)", DEBUG2);
+ print_msg("remove_channel($channel, session: $session)", DEBUG2);
my %channels = %{$heap->{'chan_data_' . $session}};
# - array with channels
sub find_nick {
my ($heap, $who, $session) = @_;
- print_msg("find_nick($who, $session)", DEBUG);
+ print_msg("find_nick($who, session: $session)", DEBUG2);
my %channels = %{$heap->{'chan_data_' . $session}};
my @channels;