mirror of
https://github.com/inspircd/inspircd.git
synced 2025-03-12 03:59:03 -04:00
Work on remote /WHOIS
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2288 e03df62e-2008-0410-955e-edbf42e46eb7
This commit is contained in:
parent
2fddaaa4db
commit
b66ebcee18
@ -1374,6 +1374,7 @@ class TreeSocket : public InspSocket
|
||||
{
|
||||
if (std::string(u->server) == Srv->GetServerName())
|
||||
{
|
||||
log(DEBUG,"Got IDLE, sending back IDLE");
|
||||
char signon[MAXBUF];
|
||||
char idle[MAXBUF];
|
||||
snprintf(signon,MAXBUF,"%lu",(unsigned long)u->signon);
|
||||
@ -1393,6 +1394,7 @@ class TreeSocket : public InspSocket
|
||||
{
|
||||
if (std::string(u->server) == Srv->GetServerName())
|
||||
{
|
||||
log(DEBUG,"Got final IDLE");
|
||||
// an incoming reply to a whois we sent out
|
||||
std::string nick_whoised = prefix;
|
||||
std::string who_did_the_whois = params[0];
|
||||
@ -2272,7 +2274,8 @@ class ModuleSpanningTree : public Module
|
||||
{
|
||||
if ((std::string(user->server) == Srv->GetServerName()) && (pcnt > 1))
|
||||
{
|
||||
if (Srv->FindNick(parameters[1]))
|
||||
userrec* remote = Srv->FindNick(parameters[1]);
|
||||
if ((remote) && (std::string(remote->server) != Srv->GetServerName()))
|
||||
{
|
||||
std::deque<std::string> params;
|
||||
params.push_back(parameters[1]);
|
||||
|
Loading…
x
Reference in New Issue
Block a user