From 8199f4dd3e64450d464c0ac97b34d90c165df066 Mon Sep 17 00:00:00 2001 From: brain Date: Sun, 1 Jul 2007 12:06:15 +0000 Subject: 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 --- src/xline.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/xline.cpp') 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 { -- cgit v1.2.3