Permalink
Browse files

fix haiku remove function. redline6561 is on notice.

  • Loading branch information...
James Hsiao
James Hsiao committed Oct 27, 2011
1 parent e3f0fc7 commit 9b2c50c7057e7c4483a7bc21e782fef2e940b684
Showing with 1 addition and 1 deletion.
  1. +1 −1 olga
View
2 olga
@@ -608,7 +608,7 @@ sub haiku {
}
elsif ($proc =~ m/^remove$/i) {
@{$data->{haiku}->{lc($syl)}} =
- grep {!/$phrase/} @{$data->{haiku}->{lc($syl)}};
+ grep {$_ ne $phrase} @{$data->{haiku}->{lc($syl)}};
$conn->privmsg($to, "Removed.\n");
}

2 comments on commit 9b2c50c

@croddy

This comment has been minimized.

Show comment
Hide comment
@croddy

croddy Oct 27, 2011

[bsbutler] olga haiku remove sevens ...
[olga] Removed.
[bsbutler] Ha.
[bsbutler] Bad example. Anyway...
[batmanuel] you removed all of the sevens!
[pendingo] haha.
[alfredodeza] nooooooooooooooooooooooooooooooooooooooooooooooooooooooooooo
[alfredodeza] olga haiku remove fives fork the haiku
[olga] Removed.
[alfredodeza] olga haiku use_add fives would fork the haiku
[olga] would fork the haiku
[olga] Burns is git sensei
[datagrok] wat.

[bsbutler] olga haiku remove sevens ...
[olga] Removed.
[bsbutler] Ha.
[bsbutler] Bad example. Anyway...
[batmanuel] you removed all of the sevens!
[pendingo] haha.
[alfredodeza] nooooooooooooooooooooooooooooooooooooooooooooooooooooooooooo
[alfredodeza] olga haiku remove fives fork the haiku
[olga] Removed.
[alfredodeza] olga haiku use_add fives would fork the haiku
[olga] would fork the haiku
[olga] Burns is git sensei
[datagrok] wat.

@kingcons

This comment has been minimized.

Show comment
Hide comment

Epic.

Please sign in to comment.