summaryrefslogtreecommitdiff
path: root/src/modules/m_spanningtree/main.cpp
Commit message (Expand)AuthorAgeFilesLines
* Include explicit parameter list in ProtocolInterface::SendMode•••Also leave the strings split into deque, there's no need to pack it into a string just to unpack it during the translate. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11181 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar danieldg2009-03-071-2/+2
* Construct explicit parameter type list for MODE parameters•••Previously, we used TR_SPACENICKLIST on the parameters. This worked only because usually, if anything in the list parsed as a nick, then it was a nick. However, some modes like +k and +g allow free-form text, which could also resolve as a nick. Add extra parameters to allow modes to specify their TranslateType, defaulting to TR_TEXT. This fixes bug #757, found by Taros git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11180 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar danieldg2009-03-061-5/+5
* Remove redundant PriorityState, enum Priority does the exact same thing.•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11121 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar w00t2009-02-161-1/+1
* ...and make it not go querying modules that dont implement the right interfac...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10935 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2009-01-021-4/+8
* If a module is loaded after m_spanningtree that it needs, then it will now re...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10934 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2009-01-021-3/+27
* Update copyrights for 2009.•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10932 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar w00t2009-01-021-1/+1
* Fix naming convention to be consistant. (cmd_ -> Command)•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10891 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar w00t2008-12-151-2/+2
* Add snomask +s +L - remote link notices.•••Can be a useful distinction for bigger networks or networks with more distinction on what people can and cannot see. This also makes RemoteMessage more match it's docs and removes useless redundancy. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10759 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar w00t2008-10-311-31/+7
* Use TargetTypeFlags instead of int in a few places.•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10711 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar w00t2008-10-251-3/+3
* Move spanningtree to use OnChangeLocalUserHost instead of OnChangeHost, this ...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10702 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar w00t2008-10-251-5/+3
* Fix the 'i/o error on connection (no error)' stuff, by displaying 'connected ...•••Also trigger failover whenever a connection times out in the new authentication timeout code (the connection isnt properly established so the failover should trigger) git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10575 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2008-09-211-1/+10
* Implement timeout on outgoing server connections as per our docs <link:timeout>•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10558 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar peavey2008-09-191-0/+16
* Fix KILL server-notice duplication•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10517 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar aquanight2008-09-111-0/+1
* Remove old listening stuff from spanningtree, use a new derived listener class.•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10472 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar w00t2008-09-081-2/+2
* Safeguards•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10352 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar w00t2008-08-291-0/+13
* Don't force-finish a burst on a timer, instead, set bursted if a PONG is reci...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10326 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar w00t2008-08-271-10/+0
* Change module versions to use a string instead of fixed digits, and use props...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10291 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar w00t2008-08-251-1/+1
* Match conversion stuff.•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10216 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar w00t2008-08-221-2/+1
* Revert automated conversion by Special, as it (unfortunately) neglects some d...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10215 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar w00t2008-08-221-0/+1
* Fix a lot of calls to match() and uses of wildcard.h (which doesn't exist any...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10214 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar special2008-08-221-1/+0
* Make this fit in with the rest of the code•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10104 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar w00t2008-08-051-1/+1
* Fix total mess of makefile dependency macros (all depending on stuff they don...•••and fix includes in all of m_spanningtree (everything including just about everything, doesnt need to) git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10046 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2008-07-191-2/+2
* Fix m_nopartmsg to work via API modification, involves a string copy that won...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9953 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar w00t2008-07-111-1/+1
* fixed some indentation and spacing in modules•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9888 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar pippijn2008-06-111-6/+6
* Add ProtocolInterface::Introduce() to prevent confusion over event ordering, ...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9827 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2008-06-011-28/+3
* Convert m_spanningtree•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9751 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar aquanight2008-05-181-15/+15
* Remove JOIN sending, all should be FJOIN•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9651 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2008-05-051-19/+9
* Un-break this so remote users still get RemoteMessage okay if targetted at a ...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9646 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar w00t2008-05-051-2/+2
* Alter remotemessage here to not do what w00ts patch did, twice•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9645 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2008-05-051-11/+0
* Convert m_spanningtree•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9626 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar aquanight2008-05-051-6/+6
* Add todo note•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9531 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar w00t2008-04-171-0/+2
* Remote REHASH stuff, this drove me nuts but should probably work now.. thx brain•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9423 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar w00t2008-04-081-9/+8
* Make ping warnings and lag check global across all servers on a network. This...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9377 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar w00t2008-04-061-42/+53
* Fix multiple burst notifications in a better way (force EOB was quite often h...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9358 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar w00t2008-04-051-3/+11
* Fix broken fjoin, looks like we forgot something when porting to new format :p•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9338 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2008-04-041-1/+1
* Add simple modes to FJOIN instead of sending a seperate FMODE all the time. T...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9333 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar w00t2008-04-041-4/+1
* Server origin PRIVMSG and NOTICE now supported by protocol. Will add interfac...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9307 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2008-04-041-0/+8
* Now rip out the old handler, and replace with an error log line•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9302 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2008-04-041-99/+3
* Add basic stuff for protocol interface and implement a couple of the methods....•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9297 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2008-04-041-1/+8
* AWAY notification for WATCH. Numerics are now sent out when a user goes away ...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9227 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar w00t2008-03-301-1/+1
* Merge OnCancelAway and OnSetAway, add param awaymsg to OnSetAway (blank when ...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9223 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar w00t2008-03-301-14/+15
* Commit -Wformat=2 -Wmissing-format-attributes, printf-like functions in inspi...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9217 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar aquanight2008-03-301-1/+1
* And more of them•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9186 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2008-03-241-1/+1
* Wheeee for HUGE commits. Convert all numerics to WriteNumeric so that OnNumer...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9175 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2008-03-221-11/+11
* Generate warning if m_services_account.so and m_cap.so are not loaded with m_...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9153 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2008-03-211-2/+0
* This seems to play nice now, but it seems we may have to redo it all AGAIN :(•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9150 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2008-03-211-0/+2
* ENCAP stuff•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9146 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2008-03-211-1/+8
* Rollback complete! Everyone please go through the code and check i havent for...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9019 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2008-02-241-4/+0
* spanningtree now correctly uses OnReadConfig, so its config is AVAILABLE when...•••This MIGHT fix the other problem listed in bug #461 git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9018 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2008-02-241-1/+5
* Nuke TIMESYNC from orbit \o/•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8998 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar w00t2008-02-221-23/+2