diff options
Diffstat (limited to 'plugins/zyklonb/factoids')
-rwxr-xr-x | plugins/zyklonb/factoids | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/zyklonb/factoids b/plugins/zyklonb/factoids index 4fe7aee..3b6be64 100755 --- a/plugins/zyklonb/factoids +++ b/plugins/zyklonb/factoids @@ -79,7 +79,7 @@ sub learn { my $entries = $db{$name}; return &$respond("duplicate definition") - if grep { $_ eq $definition } @$entries; + if grep { lc $_ eq lc $definition } @$entries; push @$entries, $definition; &$respond("saved as #${\scalar @$entries}"); |