summaryrefslogtreecommitdiff
path: root/src/modules/m_spanningtree/main.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Change config reading hook for better error reportingGravatar Daniel De Graaf2010-08-211-2/+2
| | | | | This eliminates the OnRehash hook, and replaces it with ReadConfig which is called on boot, module load, and rehash.
* Move a useful utility function from spanningtree to coreGravatar Daniel De Graaf2010-08-151-21/+4
|
* Create OnChannelPermissionCheck hookGravatar Daniel De Graaf2010-08-031-14/+1
|
* Add RESYNC command to allow automatic recovery from a detected desyncGravatar Daniel De Graaf2010-08-031-3/+1
|
* Omit opflags from permchannel databaseGravatar Daniel De Graaf2010-08-031-1/+1
|
* Change protcol sync to not use opaque pointersGravatar Daniel De Graaf2010-08-031-35/+0
|
* New I/O hook APIGravatar Daniel De Graaf2010-08-031-1/+1
| | | | | | | | | This removes some pointless Module:: entries, uses the ServiceProvider lookup API for bind tags, and allows GnuTLS to use custom certificates per bind or link block using: <bind ssl="gnutls" ssl_cert="signed" ...> <ssl_cert name="signed" certfile="my.cert.pem" keyfile="my.key.pem">
* Extend ChanModes to use a modestacker for outputGravatar Daniel De Graaf2010-08-031-1/+3
|
* Remove duplicate mode sending on processed modesGravatar Daniel De Graaf2010-08-031-35/+1
|
* Fixups for s2s sync (currently limited to lettered modes)Gravatar Daniel De Graaf2010-08-031-9/+13
|
* Fix double-erase of iterator if a server dies and times out at the same timeGravatar danieldg2010-02-181-1/+1
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@12490 e03df62e-2008-0410-955e-edbf42e46eb7
* Fix routing of prefix-channel messages now that 2.0 sends to status and ↵Gravatar danieldg2010-02-171-1/+2
| | | | | | above, not just status git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@12483 e03df62e-2008-0410-955e-edbf42e46eb7
* Add <oper:autologin> to allow SSL fingerprint-based automatic oper loginGravatar danieldg2010-02-151-6/+12
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@12467 e03df62e-2008-0410-955e-edbf42e46eb7
* Clean up treesocket naming confusion by adding a link block reference during ↵Gravatar danieldg2010-02-131-3/+6
| | | | | | negotiation git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@12452 e03df62e-2008-0410-955e-edbf42e46eb7
* Fix double-invocation of Squit that can cause a crash on delinkGravatar danieldg2010-02-131-4/+0
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@12451 e03df62e-2008-0410-955e-edbf42e46eb7
* Restart server_hash iteration after quitting dead and pinged out serversGravatar danieldg2010-02-111-1/+3
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@12435 e03df62e-2008-0410-955e-edbf42e46eb7
* More cleanup of quit serversGravatar danieldg2010-02-071-0/+7
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@12394 e03df62e-2008-0410-955e-edbf42e46eb7
* Send module load/unload notifications so that services can learn of new ↵Gravatar danieldg2010-02-061-2/+11
| | | | | | features without splitting git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@12382 e03df62e-2008-0410-955e-edbf42e46eb7
* Delink servers using an SSL module that is being reloadedGravatar danieldg2010-02-031-1/+13
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@12367 e03df62e-2008-0410-955e-edbf42e46eb7
* Move lots of spanningtree items to commandsGravatar danieldg2010-01-181-15/+28
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@12296 e03df62e-2008-0410-955e-edbf42e46eb7
* Remove excessive gettimeofday system callsGravatar danieldg2010-01-181-3/+1
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@12293 e03df62e-2008-0410-955e-edbf42e46eb7
* ...because every now and again, i have to do a massive commit.Gravatar brain2010-01-111-1/+1
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@12248 e03df62e-2008-0410-955e-edbf42e46eb7
* Remove spanningtree override of /LUSERSGravatar danieldg2010-01-101-54/+0
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@12247 e03df62e-2008-0410-955e-edbf42e46eb7
* Remove special-case handling of SVSNICK, SVSJOIN, SVSPART; enables ↵Gravatar danieldg2010-01-021-6/+12
| | | | | | intelligent routing git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@12238 e03df62e-2008-0410-955e-edbf42e46eb7
* Use ServiceProvider for inter-module dependenciesGravatar danieldg2009-11-161-18/+2
| | | | | | | | | | | This will stop dependency chains from preventing module reloads when it is not actually needed; however, it removes some failsafes that will need to be reimplemented in order to avoid unmapped vtables. This deprecates Request as an inter-module signaling mechanism, although SQL still uses it. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@12140 e03df62e-2008-0410-955e-edbf42e46eb7
* Add Inspircd::AddServicesGravatar danieldg2009-11-151-1/+1
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@12135 e03df62e-2008-0410-955e-edbf42e46eb7
* Fix typoGravatar danieldg2009-11-121-1/+1
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@12107 e03df62e-2008-0410-955e-edbf42e46eb7
* Fix incorrect opaque object use in ProtoSendMetaData (this is a reason to ↵Gravatar danieldg2009-11-121-1/+1
| | | | | | avoid opaque data) git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@12106 e03df62e-2008-0410-955e-edbf42e46eb7
* Remove Extensible parent from EventHandlerGravatar danieldg2009-11-061-0/+8
| | | | | | This also fixes SSL certificate support when m_sslinfo is not loaded git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@12048 e03df62e-2008-0410-955e-edbf42e46eb7
* Fixes found by removing User inheritance from StreamSocketGravatar danieldg2009-10-251-2/+2
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11975 e03df62e-2008-0410-955e-edbf42e46eb7
* Make User::uuid and User::server constGravatar danieldg2009-10-231-1/+1
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11962 e03df62e-2008-0410-955e-edbf42e46eb7
* Kill ListenSocketBase, use OnAcceptConnection for all new connectionsGravatar danieldg2009-10-211-3/+3
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11950 e03df62e-2008-0410-955e-edbf42e46eb7
* Change module API to use LocalUser* where correctGravatar danieldg2009-10-211-8/+6
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11943 e03df62e-2008-0410-955e-edbf42e46eb7
* some WriteGlobalSno changesGravatar danieldg2009-10-211-1/+2
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11939 e03df62e-2008-0410-955e-edbf42e46eb7
* Make classbase and refcountbase uncopyable; expand comments on their ↵Gravatar danieldg2009-10-171-1/+1
| | | | | | indended uses git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11888 e03df62e-2008-0410-955e-edbf42e46eb7
* Fix module unmapping with culled Module objectsGravatar danieldg2009-10-141-6/+6
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11875 e03df62e-2008-0410-955e-edbf42e46eb7
* Move 2 static extensibles from user class to inspircd class for global ↵Gravatar peavey2009-10-111-1/+1
| | | | | | access in an attempt to further fix windows build. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11838 e03df62e-2008-0410-955e-edbf42e46eb7
* Move autoconnect next-server to TreeSocket::cull, and drop autoconnect ↵Gravatar danieldg2009-10-091-33/+26
| | | | | | reference once a connection is complete git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11811 e03df62e-2008-0410-955e-edbf42e46eb7
* Update Event and Request APIsGravatar danieldg2009-10-081-15/+4
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11808 e03df62e-2008-0410-955e-edbf42e46eb7
* Get rid of a bunch of memory-wasting C-style stringsGravatar danieldg2009-10-031-2/+2
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11796 e03df62e-2008-0410-955e-edbf42e46eb7
* Fix valgrind issues and crashes on exitGravatar danieldg2009-10-021-5/+5
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11794 e03df62e-2008-0410-955e-edbf42e46eb7
* Fix timeoutlist calling ConnectServer when not neededGravatar danieldg2009-10-011-3/+8
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11792 e03df62e-2008-0410-955e-edbf42e46eb7
* Add ROUTE_TYPE_MESSAGE and use for PRIVMSG/NOTICE routingGravatar danieldg2009-10-011-0/+2
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11791 e03df62e-2008-0410-955e-edbf42e46eb7
* Allow multiple autoconnects in a single <autoconnect> tag, fix infinite failoverGravatar danieldg2009-09-301-27/+42
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11786 e03df62e-2008-0410-955e-edbf42e46eb7
* Add explicit reference-counting base classGravatar danieldg2009-09-301-2/+2
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11785 e03df62e-2008-0410-955e-edbf42e46eb7
* Move destruction logic for User and Spanningtree into cull()Gravatar danieldg2009-09-301-0/+5
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11783 e03df62e-2008-0410-955e-edbf42e46eb7
* Change IS_FAKE and CheckTimeStamp to IS_SERVER and ResolveModeConflict to ↵Gravatar danieldg2009-09-261-1/+1
| | | | | | clarify their use git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11765 e03df62e-2008-0410-955e-edbf42e46eb7
* Clean up svn:keywordsGravatar danieldg2009-09-261-1/+1
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11764 e03df62e-2008-0410-955e-edbf42e46eb7
* Remove InspIRCd* parameters and fieldsGravatar danieldg2009-09-261-7/+7
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11763 e03df62e-2008-0410-955e-edbf42e46eb7
* Create StreamSocket for IO hooking implementationGravatar danieldg2009-09-211-3/+2
| | | | | | | | | | | | | | Fixes the SSL SendQ bug Removes duplicate code between User and BufferedSocket Simplify SSL module API Simplify EventHandler API (Readable/Writeable moved to SE) Add hook for culled objects to invoke callbacks prior to destructor Replace SocketCull with GlobalCull now that sockets can close themselves Shorten common case of user read/parse/write path: User::Write is now zero-copy up to syscall/SSL invocation User::Read has only two copy/scan passes from read() to ProcessCommand git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11752 e03df62e-2008-0410-955e-edbf42e46eb7