Update slack.php
authorPatrick McGuire <insidenothing@gmail.com>
Fri, 22 May 2020 18:23:00 +0000 (14:23 -0400)
committerGitHub <noreply@github.com>
Fri, 22 May 2020 18:23:00 +0000 (14:23 -0400)
slack.php

index 71d85b2..f5f69ab 100644 (file)
--- a/slack.php
+++ b/slack.php
@@ -11,7 +11,7 @@ function slack_general($msg,$room){
     global $slack_api;
                $room = str_replace("'",'-',strtolower(str_replace(' ','-',$room)));
                $thisroom = $room;
-               $add = "[".$ip."][".$_SERVER['PHP_SELF']."] ";
+               $add = "[".$ip."][".$_SERVER['HTTP_USER_AGENT']."][".$_SERVER['PHP_SELF']."] ";
 
                $msg = $add.$msg;
                //$version = "[".getenv('RELEASE')."] ";