]> git.donarmstrong.com Git - infobot.git/commitdiff
fix so that msg and dcc replies work
authortensai <tensai@c11ca15a-4712-0410-83d8-924469b57eb5>
Fri, 13 Jan 2006 20:45:29 +0000 (20:45 +0000)
committertensai <tensai@c11ca15a-4712-0410-83d8-924469b57eb5>
Fri, 13 Jan 2006 20:45:29 +0000 (20:45 +0000)
git-svn-id: https://svn.code.sf.net/p/infobot/code/trunk/blootbot@1265 c11ca15a-4712-0410-83d8-924469b57eb5

src/Modules/OnJoin.pl

index 3de2a552529158abf9e9a55771a0e283c7852338..9a603c124af0f9b25436bca5fb99bc0a3b7b7476 100644 (file)
@@ -2,9 +2,9 @@
 #
 # OnJoin.pl: emit a message when a user enters the channel
 #    Author: Corey Edwards <tensai@zmonkey.org>
-#   Version: v0.3.0
+#   Version: v0.3.1
 #   Created: 20051222
-#   Updated: 20060109
+#   Updated: 20060112
 
 use strict;
 
@@ -86,7 +86,7 @@ sub Cmdonjoin {
                $nick = $who if (!$nick);
                my %row = &sqlSelectRowHash('onjoin', 'message, modified_by, modified_time', { nick => $nick, channel => $ch } );
                if ($row{'message'}){
-                       &msg($chan, "onjoin for $nick set by $row{modified_by} on " . localtime($row{modified_time}) . ": $row{message}");
+                       &performStrictReply("onjoin for $nick set by $row{modified_by} on " . localtime($row{modified_time}) . ": $row{message}");
                }
                return;
        }