]> git.donarmstrong.com Git - infobot.git/commitdiff
use user
authortimriker <timriker@c11ca15a-4712-0410-83d8-924469b57eb5>
Sat, 27 Mar 2004 23:02:02 +0000 (23:02 +0000)
committertimriker <timriker@c11ca15a-4712-0410-83d8-924469b57eb5>
Sat, 27 Mar 2004 23:02:02 +0000 (23:02 +0000)
git-svn-id: https://svn.code.sf.net/p/infobot/code/trunk/blootbot@930 c11ca15a-4712-0410-83d8-924469b57eb5

src/CLI/Support.pl
src/Shm.pl

index e61a1b367cb01ef1c8dad99c6c63dace390b47c7..c752cb9f9d75b6c374b0419a91fd70f6cdebdd8a 100644 (file)
@@ -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';
index efdfced295665d79c98598e3a26facd549272e38..f9b93624b1227c29581d5d3a39042afafbd6b519 100644 (file)
@@ -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;
     }