summaryrefslogtreecommitdiff
path: root/src/modules/m_callerid.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/modules/m_callerid.cpp')
-rw-r--r--src/modules/m_callerid.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/m_callerid.cpp b/src/modules/m_callerid.cpp
index 95e663a5b..76f2ec95a 100644
--- a/src/modules/m_callerid.cpp
+++ b/src/modules/m_callerid.cpp
@@ -49,7 +49,7 @@ class callerid_data : public classbase
{
std::ostringstream oss;
oss << lastnotify;
- for (std::set<User*>::iterator i = accepting.begin(); i != accepting.end(); ++i)
+ for (std::set<User*>::const_iterator i = accepting.begin(); i != accepting.end(); ++i)
{
// Encode UIDs.
oss << "," << (displayable ? (*i)->nick : (*i)->uuid);