summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorw00t <w00t@e03df62e-2008-0410-955e-edbf42e46eb7>2008-08-23 16:58:28 +0000
committerw00t <w00t@e03df62e-2008-0410-955e-edbf42e46eb7>2008-08-23 16:58:28 +0000
commit481b59d3f87042a010c4d39548bd7cf1f56a4073 (patch)
treebd62c95c772e990f558d404263004a4041369734 /src
parentd0be7981e62a73d71cf9ffe534b245584aa27a36 (diff)
Fix bug that would cause tags to be ignored (etc), thanks dz
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10230 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src')
-rw-r--r--src/modules/m_chanlog.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/modules/m_chanlog.cpp b/src/modules/m_chanlog.cpp
index bb5adf67c..8ba07d9ba 100644
--- a/src/modules/m_chanlog.cpp
+++ b/src/modules/m_chanlog.cpp
@@ -100,11 +100,10 @@ class ModuleChanLog : public Module
continue;
}
- for (std::string::const_iterator it = snomasks.begin(); it != snomasks.end(); i++)
+ for (std::string::const_iterator it = snomasks.begin(); it != snomasks.end(); it++)
{
logstreams.insert(std::make_pair(*it, channel));
ServerInstance->Logs->Log("m_chanlog", DEFAULT, "Logging %c to %s", *it, channel.c_str());
- it++;
}
}