mirror of
https://github.com/inspircd/inspircd.git
synced 2025-03-12 20:19:02 -04:00
User kicks being ignored!!!
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3268 e03df62e-2008-0410-955e-edbf42e46eb7
This commit is contained in:
parent
8a37a9344b
commit
61768f4f3b
@ -2348,21 +2348,24 @@ class TreeSocket : public InspSocket
|
||||
else if (command == "KICK")
|
||||
{
|
||||
std::string sourceserv = this->myhost;
|
||||
if (params.size() == 3)
|
||||
userrec* source = Srv->FindNick(prefix);
|
||||
if (!source)
|
||||
{
|
||||
userrec* source = Srv->FindNick(prefix);
|
||||
userrec* user = Srv->FindNick(params[1]);
|
||||
chanrec* chan = Srv->FindChannel(params[0]);
|
||||
if (user && chan && !source)
|
||||
if (params.size() == 3)
|
||||
{
|
||||
server_kick_channel(user,chan,(char*)params[2].c_str(),false);
|
||||
userrec* user = Srv->FindNick(params[1]);
|
||||
chanrec* chan = Srv->FindChannel(params[0]);
|
||||
if (user && chan)
|
||||
{
|
||||
server_kick_channel(user,chan,(char*)params[2].c_str(),false);
|
||||
}
|
||||
}
|
||||
if (this->InboundServerName != "")
|
||||
{
|
||||
sourceserv = this->InboundServerName;
|
||||
}
|
||||
return DoOneToAllButSenderRaw(line,sourceserv,prefix,command,params);
|
||||
}
|
||||
if (this->InboundServerName != "")
|
||||
{
|
||||
sourceserv = this->InboundServerName;
|
||||
}
|
||||
return DoOneToAllButSenderRaw(line,sourceserv,prefix,command,params);
|
||||
}
|
||||
else if (command == "SVSJOIN")
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user