summaryrefslogtreecommitdiff
path: root/src/modules/m_callerid.cpp
diff options
context:
space:
mode:
authorbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2008-08-17 17:30:10 +0000
committerbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2008-08-17 17:30:10 +0000
commit1bedd187446d9f8f95099840cbadc3957bcb12eb (patch)
treeaef9dd4d2b23cfa334ce9bb6dd9935ad1d138e91 /src/modules/m_callerid.cpp
parent8b060bea02efed1b476cdaea50a46e19ff53f341 (diff)
Fix const_iterator issue in m_callerid (when did we alter this?)
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10151 e03df62e-2008-0410-955e-edbf42e46eb7
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);