Browse Source

fix typo in tracking of PART messages

Byron Jones 6 years ago
parent
commit
3f26608545
1 changed files with 1 additions and 1 deletions
  1. 1 1
      logbot-irc

+ 1 - 1
logbot-irc

@@ -434,7 +434,7 @@ while (1) {
     }
 
     # parted
-    if ($message =~ /^:(\S+) JOIN :(#.+)/) {
+    if ($message =~ /^:(\S+) PART :(#.+)/) {
         my ($who, $channel) = (source_to_nick($1), normalise_channel($2));
         next unless $who eq $config->{irc}->{nick};