summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2005-11-30 10:54:37 +0000
committerbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2005-11-30 10:54:37 +0000
commita234850a2bd205ef82d0c32c41daa9b25d7ced41 (patch)
tree4ff9a099f594b17ad114773cf26fcf24d0464ccd
parentcc08553ad981f24e12dce991b4106a3197e54f10 (diff)
Fixed colon stuff
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2037 e03df62e-2008-0410-955e-edbf42e46eb7
-rw-r--r--src/modules/m_spanningtree.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/modules/m_spanningtree.cpp b/src/modules/m_spanningtree.cpp
index 90ff03905..3de75765b 100644
--- a/src/modules/m_spanningtree.cpp
+++ b/src/modules/m_spanningtree.cpp
@@ -546,6 +546,7 @@ class TreeSocket : public InspSocket
clientlist[tempnick]->chans[i].channel = NULL;
clientlist[tempnick]->chans[i].uc_modes = 0;
}
+ params[7] = ":" + params[7];
DoOneToAllButSender(source,"NICK",params,source);
return true;
}
@@ -679,6 +680,7 @@ class TreeSocket : public InspSocket
userrec* who = Srv->FindNick(nick);
if (who)
{
+ params[1] = ":" + params[1];
DoOneToAllButSender(prefix,"KILL",params,u->server);
Srv->QuitUser(who,reason);
}
@@ -739,6 +741,7 @@ class TreeSocket : public InspSocket
// node.
TreeServer* Node = new TreeServer(servername,description,TreeRoot,this);
TreeRoot->AddChild(Node);
+ params[3] = ":" + params[3];
DoOneToAllButSender(TreeRoot->GetName(),"SERVER",params,servername);
this->DoBurst(Node);
return true;