From d68981362628e6c67edcac2b5ea65d4ca18bed7b Mon Sep 17 00:00:00 2001 From: attilamolnar Date: Mon, 11 Jun 2012 18:59:06 +0200 Subject: Fix 2 clang warnings reported by @SaberUK --- src/modules/m_stripcolor.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/modules') diff --git a/src/modules/m_stripcolor.cpp b/src/modules/m_stripcolor.cpp index aab506fdc..cd4f35c4b 100644 --- a/src/modules/m_stripcolor.cpp +++ b/src/modules/m_stripcolor.cpp @@ -75,7 +75,7 @@ class ModuleStripColor : public Module std::string::iterator i,safei; for (i = sentence.begin(); i != sentence.end();) { - if ((*i == 3)) + if (*i == 3) seq = 1; else if (seq && (( ((*i >= '0') && (*i <= '9')) || (*i == ',') ) )) { -- cgit v1.2.3