diff options
-rw-r--r-- | src/modules/m_callerid.cpp | 2 |
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); |