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/cmd_ison.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/cmd_ison.cpp') diff --git a/src/cmd_ison.cpp b/src/cmd_ison.cpp index c76bf40e1..0cee160c7 100644 --- a/src/cmd_ison.cpp +++ b/src/cmd_ison.cpp @@ -51,7 +51,7 @@ CmdResult cmd_ison::Handle (const char** parameters, int pcnt, userrec *user) /* Its a space seperated list of nicks (RFC1459 says to support this) */ irc::spacesepstream list(parameters[i]); - std::string item = "*"; + std::string item("*"); while (((item = list.GetToken()) != "")) { u = ServerInstance->FindNick(item); -- cgit v1.2.3