summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/modules/m_callerid.cpp6
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();
}