projects
/
docbot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2f54781
)
- fix debugging: really output a join message only if the session joins the channel
author
Andreas Scherbaum
<
[email protected]
>
Fri, 20 Jan 2012 20:52:32 +0000
(21:52 +0100)
committer
Andreas Scherbaum
<
[email protected]
>
Fri, 20 Jan 2012 20:52:32 +0000
(21:52 +0100)
docbot.pl
patch
|
blob
|
blame
|
history
diff --git
a/docbot.pl
b/docbot.pl
index 9c5600caa6bf7ef9a2f2d28b77e1f79066e35741..f60139a17beabea5c74e66bab5c935d2c8229453 100755
(executable)
--- a/
docbot.pl
+++ b/
docbot.pl
@@
-1220,8
+1220,8
@@
sub on_connect {
my $channel_session = config_get_key3('channels', $channel, 'session');
if ($channel_session == $session) {
push(@join_channels, $channel);
+ print_msg("assign irc channel '$channel' to session '$session'", DEBUG);
}
- print_msg("assign irc channel '$channel' to session '$session'", DEBUG);
}
print_msg("Channel list for session $session: " . join(", ", @join_channels), DEBUG);