diff options
author | attilamolnar <attilamolnar@hush.com> | 2012-06-11 18:59:06 +0200 |
---|---|---|
committer | Sir Poggles <sir.pogsalot@gmail.com> | 2012-06-12 22:49:29 -0700 |
commit | d68981362628e6c67edcac2b5ea65d4ca18bed7b (patch) | |
tree | 58d1f15ce334b17afb49a919ffa1b6f6badb2b46 /src/modules | |
parent | acb0d25d2b1f92f888a43ae96d98220a7d77e9b2 (diff) |
Fix 2 clang warnings reported by @SaberUK
Diffstat (limited to 'src/modules')
-rw-r--r-- | src/modules/m_stripcolor.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
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 == ',') ) )) { |