mirror of
https://github.com/inspircd/inspircd.git
synced 2025-03-12 20:19:02 -04:00
/me thwaps special for not reading comments :p
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5445 e03df62e-2008-0410-955e-edbf42e46eb7
This commit is contained in:
parent
888d8e77cd
commit
934cf2dafc
@ -534,7 +534,7 @@ void ModeParser::Process(const char** parameters, int pcnt, userrec *user, bool
|
||||
else
|
||||
{
|
||||
user->WriteTo(targetuser,"MODE %s %s%s",targetuser->nick,output_sequence.c_str(), parameter_list.str().c_str());
|
||||
FOREACH_MOD(I_OnMode,OnMode(user, targetuser, TYPE_USER, output_sequence));
|
||||
FOREACH_MOD(I_OnMode,OnMode(user, targetuser, TYPE_USER, output_sequence + parameter_list.str()));
|
||||
this->LastParse = targetuser->nick;
|
||||
}
|
||||
}
|
||||
|
@ -101,6 +101,7 @@ class ModuleModesOnConnect : public Module
|
||||
}
|
||||
}
|
||||
|
||||
ServerInstance->Log(DEBUG,"Call mode handler to set modes");
|
||||
ServerInstance->Parser->CallHandler("MODE", modes, size, user);
|
||||
}
|
||||
break;
|
||||
|
@ -1134,8 +1134,11 @@ void userrec::FullConnect(CullList* Goners)
|
||||
* changes dont go out onto the network and produce 'fake direction'.
|
||||
*/
|
||||
FOREACH_MOD(I_OnUserConnect,OnUserConnect(this));
|
||||
FOREACH_MOD(I_OnPostConnect,OnPostConnect(this));
|
||||
|
||||
this->registered = REG_ALL;
|
||||
|
||||
FOREACH_MOD(I_OnPostConnect,OnPostConnect(this));
|
||||
|
||||
ServerInstance->SNO->WriteToSnoMask('c',"Client connecting on port %d: %s!%s@%s [%s]", this->GetPort(), this->nick, this->ident, this->host, this->GetIPString());
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user