From: timriker Date: Sat, 27 Mar 2004 23:02:02 +0000 (+0000) Subject: use user X-Git-Url: https://git.donarmstrong.com/?a=commitdiff_plain;h=7f65c6f80200623412b835a2363396d84556f636;p=infobot.git use user git-svn-id: https://svn.code.sf.net/p/infobot/code/trunk@930 c11ca15a-4712-0410-83d8-924469b57eb5 --- diff --git a/blootbot/src/CLI/Support.pl b/blootbot/src/CLI/Support.pl index e61a1b3..c752cb9 100644 --- a/blootbot/src/CLI/Support.pl +++ b/blootbot/src/CLI/Support.pl @@ -13,7 +13,7 @@ sub cliloop { $uh = "local\@local"; $who = "local"; $orig{who} = "local"; - $ident = $param{'ircNick'}; + $ident = $param{'ircUser'}; $chan = $talkchannel = "_local"; $addressed = 1; $msgType = 'public'; diff --git a/blootbot/src/Shm.pl b/blootbot/src/Shm.pl index efdfced..f9b9362 100644 --- a/blootbot/src/Shm.pl +++ b/blootbot/src/Shm.pl @@ -82,7 +82,7 @@ sub shmWrite { my $read = &shmRead($key); $read =~ s/\0+//g; if ($read eq "") { - $str = sprintf("%s:%d:%d: ", $param{ircNick}, $bot_pid, time()); + $str = sprintf("%s:%d:%d: ", $param{ircUser}, $bot_pid, time()); } else { $str = $read ."||". $str; }