~ubuntu-branches/ubuntu/lucid/inspircd/lucid-security

« back to all changes in this revision

Viewing changes to src/modules/m_spanningtree/treesocket2.cpp

  • Committer: Bazaar Package Importer
  • Author(s): Giacomo Catenazzi, Darren Blaber, Matt Arnold, Giacomo Catenazzi
  • Date: 2008-03-06 07:56:47 UTC
  • mfrom: (1.1.1 upstream)
  • Revision ID: james.westby@ubuntu.com-20080306075647-z8a4phxkn3vo3ajx
Tags: 1.1.17+dfsg-1
[ Darren Blaber ]
* New upstream release, fix /etc/init.d/inspircd stop.
* Fix the postrm script so there is no duplicate update-rc.d
* Fix the manpage so there are no more errors in it

[ Matt Arnold ]
*  Fix prerm so it works (Closes: #466924)

[ Giacomo Catenazzi ]
* Added me as uploader
* Add again support of dpatch in debian/rules
* Build sources only once!
* Correct make clean target, not to include generated ./inspircd on sources
* Don't change permission of configuration files, when starting inspircd
  (separation of policy and program).

Show diffs side-by-side

added added

removed removed

Lines of Context:
2
2
 *       | Inspire Internet Relay Chat Daemon |
3
3
 *       +------------------------------------+
4
4
 *
5
 
 *  InspIRCd: (C) 2002-2007 InspIRCd Development Team
 
5
 *  InspIRCd: (C) 2002-2008 InspIRCd Development Team
6
6
 * See: http://www.inspircd.org/wiki/index.php/Credits
7
7
 *
8
8
 * This program is free but copyrighted software; see
349
349
        {
350
350
                this->Instance->SNO->WriteToSnoMask('l',"Remote rehash initiated by \002"+prefix+"\002.");
351
351
                this->Instance->RehashServer();
352
 
                Utils->ReadConfiguration(false);
 
352
                Utils->ReadConfiguration(true);
353
353
                InitializeDisabledCommands(Instance->Config->DisabledCommands, Instance);
354
354
        }
355
355
        Utils->DoOneToAllButSender(prefix,"REHASH",params,prefix);
545
545
                }
546
546
                else
547
547
                {
548
 
                        this->Instance->SNO->WriteToSnoMask('x',"%s Added permenant %cLINE on %s (%s).",prefix.c_str(),*(params[0].c_str()),params[1].c_str(),params[5].c_str());
 
548
                        this->Instance->SNO->WriteToSnoMask('x',"%s Added permanent %cLINE on %s (%s).",prefix.c_str(),*(params[0].c_str()),params[1].c_str(),params[5].c_str());
549
549
                }
550
550
                params[5] = ":" + params[5];
551
551
                Utils->DoOneToAllButSender(prefix,"ADDLINE",params,prefix);
1543
1543
 
1544
1544
void TreeSocket::OnClose()
1545
1545
{
1546
 
        if (this->LinkState == LISTENER)
 
1546
        // Test fix for big fuckup
 
1547
        if (this->LinkState != CONNECTED)
1547
1548
                return;
1548
1549
 
1549
1550
        // Connection closed.