From: tensai Date: Fri, 13 Jan 2006 20:45:29 +0000 (+0000) Subject: fix so that msg and dcc replies work X-Git-Url: https://git.donarmstrong.com/?a=commitdiff_plain;h=b02224ae78a46d2159b7eda886b5303ed4ea3169;p=infobot.git fix so that msg and dcc replies work git-svn-id: https://svn.code.sf.net/p/infobot/code/trunk/blootbot@1265 c11ca15a-4712-0410-83d8-924469b57eb5 --- diff --git a/src/Modules/OnJoin.pl b/src/Modules/OnJoin.pl index 3de2a55..9a603c1 100644 --- a/src/Modules/OnJoin.pl +++ b/src/Modules/OnJoin.pl @@ -2,9 +2,9 @@ # # OnJoin.pl: emit a message when a user enters the channel # Author: Corey Edwards -# 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; }