summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/modules/m_cban.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/modules/m_cban.cpp b/src/modules/m_cban.cpp
index f83f4dec8..ff2d142a0 100644
--- a/src/modules/m_cban.cpp
+++ b/src/modules/m_cban.cpp
@@ -67,9 +67,9 @@ class ModuleCBan : public Module
{
/* check cbans in here, and apply as necessary. */
- std::string chname(cname);
+ std::string chname = cname;
- for (vector<std::string>::iterator iterate = cbans.begin();; iterate < cbans.end(); iterate++)
+ for (vector<std::string>::iterator iterate = cbans.begin(); iterate < cbans.end(); iterate++)
{
if (chname == *iterate)
{