summaryrefslogtreecommitdiff
path: root/src/mode.cpp
diff options
context:
space:
mode:
authorattilamolnar <attilamolnar@hush.com>2012-11-28 02:37:49 +0100
committerattilamolnar <attilamolnar@hush.com>2012-11-28 19:28:52 +0100
commit2d2e0469b8ac7c64c9dc22f7074db8fc245e2f13 (patch)
tree6645e1002a23da05d3f651b1a341b75445c65992 /src/mode.cpp
parent790f8c35841ef7c9ec123242611613b540f14c2c (diff)
Change empty string assignments to .clear() or remove them entirely
Part 2 of ba5c0db795824c3fc1ad48ce332d7bdc440cb77f
Diffstat (limited to 'src/mode.cpp')
-rw-r--r--src/mode.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mode.cpp b/src/mode.cpp
index 21c9e7144..0957184b7 100644
--- a/src/mode.cpp
+++ b/src/mode.cpp
@@ -442,7 +442,7 @@ void ModeParser::Process(const std::vector<std::string>& parameters, User *user,
continue;
}
- std::string parameter = "";
+ std::string parameter;
int pcnt = mh->GetNumParams(adding);
if (pcnt && param_at == parameters.size())
{