summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2005-12-07 09:42:40 +0000
committerbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2005-12-07 09:42:40 +0000
commit89045dd768ee9c0add28248c77b885c1a6797a31 (patch)
tree495d066006cd38932161f87d0ca6cdcb2d5c1780
parentf564fa8eef83dc6fc74685a874606e7ad06a836b (diff)
Fixed return statements in function thats been reference-ized
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2240 e03df62e-2008-0410-955e-edbf42e46eb7
-rw-r--r--src/modules/m_spanningtree.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/modules/m_spanningtree.cpp b/src/modules/m_spanningtree.cpp
index e566fe210..fff7e77df 100644
--- a/src/modules/m_spanningtree.cpp
+++ b/src/modules/m_spanningtree.cpp
@@ -1436,7 +1436,7 @@ class TreeSocket : public InspSocket
if (!strchr(line.c_str(),' '))
{
n.push_back(line);
- return n;
+ return;
}
std::stringstream s(line);
std::string param = "";
@@ -1478,7 +1478,7 @@ class TreeSocket : public InspSocket
{
n.push_back(param);
}
- return n;
+ return;
}
bool ProcessLine(std::string line)
@@ -2232,8 +2232,8 @@ class ModuleSpanningTree : public Module
{
for (int i = 0; i < LinkBlocks.size(); i++)
{
- WriteServ(user->fd,"213 %s C *@%s * %s %d 0 M",user->nick,LinkBlocks[i].IPAddr,LinkBlocks[i].ServerName,LinkBlocks[i].Port);
- WriteServ(user->fd,"244 %s H * * %s",user->nick,LinkBlocks[i].ServerName);
+ WriteServ(user->fd,"213 %s C *@%s * %s %d 0 M",user->nick,LinkBlocks[i].IPAddr,LinkBlocks[i].Name,LinkBlocks[i].Port);
+ WriteServ(user->fd,"244 %s H * * %s",user->nick,LinkBlocks[i].Name);
}
return true;
}