]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - src/cmd_ison.cpp
Init the sequence indicator to avoid undefined behaviour. Thx owine.
[user/henk/code/inspircd.git] / src / cmd_ison.cpp
index c76bf40e101c8a9c6073150ad729efa2af9119ca..0cee160c7f8e39c657328c6b9601594b9ab9d934 100644 (file)
@@ -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);