]> git.donarmstrong.com Git - infobot.git/blobdiff - src/Modules/botmail.pl
eep
[infobot.git] / src / Modules / botmail.pl
index aee241990c1036d7c921e6fd2bb3dd155b7726d0..be134d10cea0d3ee8784557133780ad5058d50d9 100644 (file)
@@ -89,7 +89,7 @@ sub add {
        "dstwho=".&::dbQuote(lc $recipient)
     );
 
-    if (scalar (keys %hash) <= 1) {
+    if (scalar (keys %hash) > 1) {
        &::msg($::who, "$recipient already has a message queued from you");
        return;
     }