Skip to content

Commit

Permalink
Fixed typo in user creation notification.
Browse files Browse the repository at this point in the history
  • Loading branch information
kulttuuri committed Nov 30, 2016
1 parent 819a1e1 commit 29bc18d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion DiscordNotifications/DiscordNotificationsCore.php
Original file line number Diff line number Diff line change
Expand Up @@ -216,7 +216,7 @@ static function discord_new_user_account($user, $byEmail)
$realname = "";
$ipaddress = "";
try { $email = $user->getEmail(); } catch (Exception $e) {}
try { $realname = $user->getEmail(); } catch (Exception $e) {}
try { $realname = $user->getName(); } catch (Exception $e) {}
try { $ipaddress = $user->getRequest()->getIP(); } catch (Exception $e) {}

$message = sprintf(
Expand Down

0 comments on commit 29bc18d

Please sign in to comment.