From 1dd97b8c753e103118bbe34abb61db0c8add85e3 Mon Sep 17 00:00:00 2001 From: Jason Volk Date: Wed, 20 Feb 2019 18:46:30 -0800 Subject: [PATCH] modules/client/register: Fix device_id property name in access_token event. --- modules/client/register.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/client/register.cc b/modules/client/register.cc index 84101b8ea..059537765 100644 --- a/modules/client/register.cc +++ b/modules/client/register.cc @@ -317,8 +317,8 @@ register_user(const m::registar &request, { m::send(m::user::tokens, user_id, "ircd.access_token", access_token, { - { "ip", client? string(remote(*client)) : std::string{} }, - { "device", device_id }, + { "ip", client? string(remote(*client)) : std::string{} }, + { "device_id", device_id }, }) };