mirror of
https://github.com/inspircd/inspircd.git
synced 2025-03-10 02:59:01 -04:00
PROPAGATE this fix
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8118 e03df62e-2008-0410-955e-edbf42e46eb7
This commit is contained in:
parent
602e8f0836
commit
c51f8c8fe9
@ -654,7 +654,7 @@ class ModuleSSLGnuTLS : public Module
|
||||
virtual void OnPostConnect(userrec* user)
|
||||
{
|
||||
// This occurs AFTER OnUserConnect so we can be sure the
|
||||
// protocol module has propogated the NICK message.
|
||||
// protocol module has propagated the NICK message.
|
||||
if ((user->GetExt("ssl", dummy)) && (IS_LOCAL(user)))
|
||||
{
|
||||
// Tell whatever protocol module we're using that we need to inform other servers of this metadata NOW.
|
||||
|
@ -765,7 +765,7 @@ class ModuleSSLOpenSSL : public Module
|
||||
virtual void OnPostConnect(userrec* user)
|
||||
{
|
||||
// This occurs AFTER OnUserConnect so we can be sure the
|
||||
// protocol module has propogated the NICK message.
|
||||
// protocol module has propagated the NICK message.
|
||||
if ((user->GetExt("ssl", dummy)) && (IS_LOCAL(user)))
|
||||
{
|
||||
// Tell whatever protocol module we're using that we need to inform other servers of this metadata NOW.
|
||||
|
@ -490,8 +490,8 @@ class ModuleChanProtect : public Module
|
||||
|
||||
virtual void OnSyncChannel(chanrec* chan, Module* proto, void* opaque)
|
||||
{
|
||||
/* NOTE: If +qa prefix is on, this is propogated by the channel join,
|
||||
* so we dont need to propogate it manually
|
||||
/* NOTE: If +qa prefix is on, this is propagated by the channel join,
|
||||
* so we dont need to propagate it manually
|
||||
*/
|
||||
if (!QAPrefixes)
|
||||
{
|
||||
|
@ -55,7 +55,7 @@ class cmd_mkpasswd : public command_t
|
||||
CmdResult Handle (const char** parameters, int pcnt, userrec *user)
|
||||
{
|
||||
MakeHash(user, parameters[0], parameters[1]);
|
||||
/* NOTE: Don't propogate this across the network!
|
||||
/* NOTE: Don't propagate this across the network!
|
||||
* We dont want plaintext passes going all over the place...
|
||||
* To make sure it goes nowhere, return CMD_FAILURE!
|
||||
*/
|
||||
|
@ -45,13 +45,13 @@ class cmd_sajoin : public command_t
|
||||
}
|
||||
|
||||
/* For local users, we send the JoinUser which may create a channel and set its TS.
|
||||
* For non-local users, we just return CMD_SUCCESS, knowing this will propogate it where it needs to be
|
||||
* For non-local users, we just return CMD_SUCCESS, knowing this will propagate it where it needs to be
|
||||
* and then that server will generate the users JOIN or FJOIN instead.
|
||||
*/
|
||||
if (IS_LOCAL(dest))
|
||||
{
|
||||
chanrec::JoinUser(ServerInstance, dest, parameters[1], true, "", ServerInstance->Time(true));
|
||||
/* Fix for dotslasher and w00t - if the join didnt succeed, return CMD_FAILURE so that it doesnt propogate */
|
||||
/* Fix for dotslasher and w00t - if the join didnt succeed, return CMD_FAILURE so that it doesnt propagate */
|
||||
chanrec* n = ServerInstance->FindChan(parameters[1]);
|
||||
if (n)
|
||||
{
|
||||
|
@ -51,7 +51,7 @@ class cmd_samode : public command_t
|
||||
Event rmode2((char *)&n, NULL, "send_opers");
|
||||
rmode2.Send(ServerInstance);
|
||||
|
||||
/* XXX: Yes, this is right. We dont want to propogate the
|
||||
/* XXX: Yes, this is right. We dont want to propagate the
|
||||
* actual SAMODE command, just the MODE command generated
|
||||
* by the send_mode
|
||||
*/
|
||||
|
Loading…
x
Reference in New Issue
Block a user