]> git.donarmstrong.com Git - infobot.git/blobdiff - src/Modules/botmail.pl
dbm touches
[infobot.git] / src / Modules / botmail.pl
index 094e5f5adb71679ca9802284856e88941ab4196e..6d40cd9c3587a64095034b393c087db4e1cc7978 100644 (file)
@@ -14,6 +14,11 @@ use strict;
 sub parse {
     my($what) = @_;
 
+    if ($::param{'DBType'} =~ /^dbm/i) {
+       # FIXME multi field indexed tables not supported under dbm
+       &::msg($::who, "botmail disabled for $::param{'DBType'}");
+       return;
+    }  
     if (!defined $what or $what =~ /^\s*$/) {
        &::help("botmail");
        return;