summaryrefslogtreecommitdiff
path: root/src/xline.cpp
diff options
context:
space:
mode:
authorbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2007-07-01 12:06:15 +0000
committerbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2007-07-01 12:06:15 +0000
commit8199f4dd3e64450d464c0ac97b34d90c165df066 (patch)
tree21c060d81d8ea6c76ba215a9b40845c65722d741 /src/xline.cpp
parent9ec0ed03e69d3b31176f71fa1b7b68bca5b5c9f0 (diff)
Optimizations and code tidyups. QA please check that svsnick and other forced nick changes still work right after this
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7416 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src/xline.cpp')
-rw-r--r--src/xline.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/xline.cpp b/src/xline.cpp
index 9b05a57f8..def9db42b 100644
--- a/src/xline.cpp
+++ b/src/xline.cpp
@@ -109,9 +109,9 @@ IdentHostPair XLineManager::IdentSplit(const std::string &ident_and_host)
n.second = ident_and_host.substr(x + 1,ident_and_host.length());
n.first = ident_and_host.substr(0, x);
if (!n.first.length())
- n.first = "*";
+ n.first.assign("*");
if (!n.second.length())
- n.second = "*";
+ n.second.assign("*");
}
else
{