]> git.donarmstrong.com Git - infobot.git/blobdiff - src/Modules/UserDCC.pl
- dbGet: warn if $select is NULL
[infobot.git] / src / Modules / UserDCC.pl
index f8a309cc7f8c4fc443bac626ec13fed08684e004..09082a86ee22c116f6a64ddcdb6b5e2cdfc154ba 100644 (file)
@@ -38,6 +38,19 @@ sub userDCC {
 
     ### for those users with enough flags.
 
+    if ($message =~ /^tellme(\s+(.*))?$/i) {
+       my $args = $2;
+       if ($args =~ /^\s*$/) {
+           &help("tellme");
+           return;
+       }
+
+       my $result = &doQuestion($args);
+       &pSReply($result);
+
+       return;
+    }
+
     # 4op.
     if ($message =~ /^4op(\s+($mask{chan}))?$/i) {
        return unless (&hasFlag("o"));