From 49c27deda7e52c4b4874bb4984b7f2934fd16d12 Mon Sep 17 00:00:00 2001 From: brain Date: Tue, 6 Dec 2005 10:51:21 +0000 Subject: Removed typos (whoops) git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2212 e03df62e-2008-0410-955e-edbf42e46eb7 --- src/modules/m_spanningtree.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/modules/m_spanningtree.cpp') diff --git a/src/modules/m_spanningtree.cpp b/src/modules/m_spanningtree.cpp index 7716fee58..313a5d93c 100644 --- a/src/modules/m_spanningtree.cpp +++ b/src/modules/m_spanningtree.cpp @@ -1441,7 +1441,7 @@ void AddThisServer(TreeServer* server, std::deque &list) void GetListOfServersForChannel(chanrec* c, std::deque &list) { std::vector *ulist = c->GetUsers(); - unsingned int ucount = ulist->size() + unsigned int ucount = ulist->size(); for (unsigned int i = 0; i < ucount; i++) { char* o = (*ulist)[i]; @@ -1453,7 +1453,7 @@ void GetListOfServersForChannel(chanrec* c, std::deque &list) AddThisServer(best,list); } } - return list; + return; } bool DoOneToAllButSenderRaw(std::string data,std::string omit,std::string prefix,std::string command,std::deque params) @@ -1501,7 +1501,7 @@ bool DoOneToAllButSenderRaw(std::string data,std::string omit,std::string prefix } } unsigned int items = TreeRoot->ChildCount(); - for (unsigned int x = 0; x < n; x++) + for (unsigned int x = 0; x < items; x++) { TreeServer* Route = TreeRoot->GetChild(x); if ((Route->GetSocket()) && (Route->GetName() != omit) && (omitroute != Route)) @@ -1523,7 +1523,7 @@ bool DoOneToAllButSender(std::string prefix, std::string command, std::dequeChildCount(); - for (unsigned int x = 0; x < n; x++) + for (unsigned int x = 0; x < items; x++) { TreeServer* Route = TreeRoot->GetChild(x); // Send the line IF: -- cgit v1.2.3