summaryrefslogtreecommitdiff
path: root/src/xline.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/xline.cpp
parent790f8c35841ef7c9ec123242611613b540f14c2c (diff)
Change empty string assignments to .clear() or remove them entirely
Part 2 of ba5c0db795824c3fc1ad48ce332d7bdc440cb77f
Diffstat (limited to 'src/xline.cpp')
-rw-r--r--src/xline.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/xline.cpp b/src/xline.cpp
index 6ec0723ec..12948959b 100644
--- a/src/xline.cpp
+++ b/src/xline.cpp
@@ -241,7 +241,7 @@ IdentHostPair XLineManager::IdentSplit(const std::string &ident_and_host)
}
else
{
- n.first = "";
+ n.first.clear();
n.second = ident_and_host;
}