diff options
author | Sadie Powell <sadie@witchery.services> | 2021-03-09 09:39:12 +0000 |
---|---|---|
committer | Sadie Powell <sadie@witchery.services> | 2021-03-09 10:26:14 +0000 |
commit | b3449b8763139602efc568f46631299476d5979f (patch) | |
tree | 2b10fb454a35f2cd8ffc6d4431df428ed687f9f3 | |
parent | 6c2b6fa23d3a65ecdcebbf9154b8daa2e55727e9 (diff) |
Space-delimit the human readable callerid extensible data.
-rw-r--r-- | src/modules/m_callerid.cpp | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/modules/m_callerid.cpp b/src/modules/m_callerid.cpp index b575491d6..2f47912ae 100644 --- a/src/modules/m_callerid.cpp +++ b/src/modules/m_callerid.cpp @@ -67,8 +67,10 @@ class callerid_data for (UserSet::const_iterator i = accepting.begin(); i != accepting.end(); ++i) { User* u = *i; - // Encode UIDs. - oss << "," << (human ? u->nick : u->uuid); + if (human) + oss << ' ' << u->nick; + else + oss << ',' << u->uuid; } return oss.str(); } |