From 3326a49a89340725719b3d0c539a644281ea313d Mon Sep 17 00:00:00 2001 From: brain Date: Tue, 29 Nov 2005 11:17:41 +0000 Subject: Changed to strchr git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@1998 e03df62e-2008-0410-955e-edbf42e46eb7 --- src/modules/m_spanningtree.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/modules/m_spanningtree.cpp b/src/modules/m_spanningtree.cpp index 12b0a0620..bf50b463b 100644 --- a/src/modules/m_spanningtree.cpp +++ b/src/modules/m_spanningtree.cpp @@ -928,7 +928,7 @@ bool DoOneToAllButSender(std::string prefix, std::string command, std::deque std::string FullLine = ":" + prefix + " " + command; for (unsigned int x = 0; x < params.size(); x++) { - if (params[x].find(' ') == std::string::npos) + if (!strchr(params[x].c_str(),' ')) { FullLine = FullLine + " " + params[x]; } -- cgit v1.2.3