X-Git-Url: https://jfr.im/git/irc/unrealircd/unrealircd-webpanel.git/blobdiff_plain/3231a11ba5eb6717ed77cb4623173b748c2702f6..b2ae16abfe70a6d119eead51bcfab033e27da869:/plugins/php_mailer/php_mailer.php
diff --git a/plugins/php_mailer/php_mailer.php b/plugins/php_mailer/php_mailer.php
index 759d0f2..f8a0d7f 100644
--- a/plugins/php_mailer/php_mailer.php
+++ b/plugins/php_mailer/php_mailer.php
@@ -57,7 +57,8 @@ class php_mailer
self::send_mail(
["email" => EMAIL_SETTINGS['username'], "name" => EMAIL_SETTINGS['from_name']],
"New login to Unreal Admin Panel",
- "There was a new login to the admin panel.
User: \"$user->username\"
IP: \"".$_SERVER['REMOTE_ADDR']."\""
+ "There was a new login to the admin panel.
User: \"$user->username\"
IP: \"".$_SERVER['REMOTE_ADDR']."\" (".$_SERVER['HTTP_CF_IPCOUNTRY'].")
".
+ "User Agent: ".$_SERVER['HTTP_USER_AGENT']
);
if ($user->email)