summaryrefslogtreecommitdiff
path: root/src/modules/m_spanningtree.cpp
AgeCommit message (Collapse)Author
2006-07-16mass tidyup, change A LOT of stuff to const char** which was char** (such as ↵brain
parameters to commands in handlers) which makes the new lineparser work neater with no casts. This also removes tons of casts from other locations (all in all, ive added 2 casts and removed almost a hundred) git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4403 e03df62e-2008-0410-955e-edbf42e46eb7
2006-07-15Removed GCC2 checks as we havent supported gcc2 for yearsbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4394 e03df62e-2008-0410-955e-edbf42e46eb7
2006-07-14Tidyupbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4389 e03df62e-2008-0410-955e-edbf42e46eb7
2006-07-14Changed to different way of clearing users on netsplit (uses less ram and ↵brain
should be less bug prone) WE NEED TESTERS FOR THIS. MAKE TEST NETWORKS FULL OF 1_0_STABLE SVN SERVERS AND FILL THEM WITH BOTS/PSEUDOS THEN CAUSE NETSPLITS! git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4388 e03df62e-2008-0410-955e-edbf42e46eb7
2006-07-10Inherit just about everything from classbasebrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4299 e03df62e-2008-0410-955e-edbf42e46eb7
2006-07-10Making lots of stuff inherit from classbase so we can use it as a holdall ↵brain
class that we can throw around with dynamic_cast<> git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4297 e03df62e-2008-0410-955e-edbf42e46eb7
2006-07-09send_mode event for spanningtree (this will be backported to stable as its ↵brain
really a bugfix too (honest!)) git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4243 e03df62e-2008-0410-955e-edbf42e46eb7
2006-07-08Refactored user modes to work like the channel modes - core and module data ↵brain
now the same storage format without ::modebits git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4175 e03df62e-2008-0410-955e-edbf42e46eb7
2006-07-03Cleanups, change ugly if(\!*line.c_str()) to if(line.empty()); remove some ↵om
craq.. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4107 e03df62e-2008-0410-955e-edbf42e46eb7
2006-07-03Make spanningtree compile again >_<om
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4103 e03df62e-2008-0410-955e-edbf42e46eb7
2006-07-03Typo fixom
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4102 e03df62e-2008-0410-955e-edbf42e46eb7
2006-07-01Change WriteChannelWithServ and it's _NoFormat to take a const char* ↵om
servername rather than char* - although it doesn't seem to be used :< Lose some more casts in m_spanningtree, unneeded because of above changes Make xline_set_creation_time() take const char* rather than char* for it's first parameter, lose more casts in spanningtree because of this Make do_whois take a const char* rather chan char* nick, lose yet more casts git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4095 e03df62e-2008-0410-955e-edbf42e46eb7
2006-07-01Replace rather craq'y loop with a couple of std::string callsom
Change GetServerDescription to take const char* rather than char* Change userrec::server from char* to const char*, this is more 'correct' as it's not safe to modify it (pointer as returned by std::string::c_str()) Change WhoWasGroup::server, see above about userrec::server git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4094 e03df62e-2008-0410-955e-edbf42e46eb7
2006-06-30*** Interesting fix ***brain
When a remote kill occurs, the user record for the remotely killed user may still hang around in the servers user list which is used when removing users during a netsplit. I managed to duplicate the old 'crash on netsplit' bug by sending a remote kill to a server, and then squitting that server without receipt of the corresponding QUIT. The fix now removes the user record explicitly upon remote kill (this also includes collisions) git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4088 e03df62e-2008-0410-955e-edbf42e46eb7
2006-06-28More stuff for allowing hostnames in <bind> and <link> again - note there is ↵brain
a FIXME here. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4076 e03df62e-2008-0410-955e-edbf42e46eb7
2006-06-27We can re-enable special's security fix now - note this is good for boxes ↵brain
with one or more static ip's and still doesnt resolve the issue for smelly dynamic-ip users (well boo hoo :p) git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4066 e03df62e-2008-0410-955e-edbf42e46eb7
2006-06-27Temporarily disable special's security improvement until we have either/or ↵brain
bind= and mask= git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4063 e03df62e-2008-0410-955e-edbf42e46eb7
2006-06-25Extra safety for user lists to not keep bad pointers hanging aboutbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4059 e03df62e-2008-0410-955e-edbf42e46eb7
2006-06-22Forward port of server link DDoS/oper flood fixspecial
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4045 e03df62e-2008-0410-955e-edbf42e46eb7
2006-06-17On remote kill, send KILL notice. mIRC doesnt seem happy with just the ↵brain
STANDARD message, it wants specially crafted quit notices too, but i say fuck mIRC. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4027 e03df62e-2008-0410-955e-edbf42e46eb7
2006-06-17Bring forward fix for w00t.brain
Note - umode +r may not be removed from a user when you svsnick them. Svsnick is not designed for this type of "abuse" anyway and usually svsnick will only be used on someone who has no +r. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4025 e03df62e-2008-0410-955e-edbf42e46eb7
2006-06-05Fix for collisions when clock is outbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3991 e03df62e-2008-0410-955e-edbf42e46eb7
2006-05-31Prevent crash when displaying error for server already existing (this only ↵brain
happens for lauren anyway) git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3980 e03df62e-2008-0410-955e-edbf42e46eb7
2006-05-24Corresponding forward-portbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3970 e03df62e-2008-0410-955e-edbf42e46eb7
2006-05-24More debuggingbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3968 e03df62e-2008-0410-955e-edbf42e46eb7
2006-05-24Prevent SYNCTS bouncebrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3967 e03df62e-2008-0410-955e-edbf42e46eb7
2006-05-24ALL THROW A WHILD PARTY! CRASH-ON-NETSPLIT should be fixed!!!brain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3964 e03df62e-2008-0410-955e-edbf42e46eb7
2006-05-10Fix for crash on: /OS RAW PUSH non-existent-nick :::nick!ident@host KICK ↵brain
#chan nick :any reason (yes, REALLY.) git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3942 e03df62e-2008-0410-955e-edbf42e46eb7
2006-04-28Synching of channel TS after a whole channel has been sent.brain
Please note that because a channels joins may consist of multiple FJOINs we cannot just sync the TS at the end of every FJOIN command otherwise we WILL get a desync. Instead, we send a command after the last FJOIN for a channel which tells the other servers it is now ok to sync that channels timestamp. (still to document: SYNCTS command in protocol docs) git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3916 e03df62e-2008-0410-955e-edbf42e46eb7
2006-04-24delete operator tracking in debug mode (using a macro -- live with it.)brain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3904 e03df62e-2008-0410-955e-edbf42e46eb7
2006-04-20Include paths changebrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3899 e03df62e-2008-0410-955e-edbf42e46eb7
2006-04-08Split inspircd_io.* insp inspsocket.* and configreader.* with a few odd bits ↵om
going into inspircd.*, doesn't look like I've broken anything... :P git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3847 e03df62e-2008-0410-955e-edbf42e46eb7
2006-04-04More verbose error outputbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3837 e03df62e-2008-0410-955e-edbf42e46eb7
2006-04-04move do_whois to cmd_whois, i'm stopping now. really.om
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3825 e03df62e-2008-0410-955e-edbf42e46eb7
2006-04-01Fixes for stability of connects (these didnt make it into trunk!!!)brain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3795 e03df62e-2008-0410-955e-edbf42e46eb7
2006-03-27Fix typo in spanningtree (who put this colon here?)brain
Allow for safer cloaking of hosts > 64 (backport from stable) git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3782 e03df62e-2008-0410-955e-edbf42e46eb7
2006-03-27Fix for desync in channels with keys a'la servicesbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3779 e03df62e-2008-0410-955e-edbf42e46eb7
2006-03-27Remove unused variablew00t
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3767 e03df62e-2008-0410-955e-edbf42e46eb7
2006-03-26Removal of DoOneIteration stuffbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3758 e03df62e-2008-0410-955e-edbf42e46eb7
2006-03-26All software threading stuff *disabled*brain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3757 e03df62e-2008-0410-955e-edbf42e46eb7
2006-03-19Check for link tags with undefined ipaddr fields (for drunk admins that typo)brain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3735 e03df62e-2008-0410-955e-edbf42e46eb7
2006-03-18Test fix for topic loopbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3732 e03df62e-2008-0410-955e-edbf42e46eb7
2006-03-12Case insensitive server names (Hopefully) - to be testedbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3697 e03df62e-2008-0410-955e-edbf42e46eb7
2006-03-12Altered some stuff to make case insensitive servernames (wont compile yet!)brain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3696 e03df62e-2008-0410-955e-edbf42e46eb7
2006-03-11Fixes :Pbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3677 e03df62e-2008-0410-955e-edbf42e46eb7
2006-03-11Yet more const ref changesbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3658 e03df62e-2008-0410-955e-edbf42e46eb7
2006-03-11Doh @ null chars in an sprintf!brain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3651 e03df62e-2008-0410-955e-edbf42e46eb7
2006-03-11Tweaked to use the same system as nenolod's NAMES patch for FJOINbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3650 e03df62e-2008-0410-955e-edbf42e46eb7
2006-03-11Debug counterbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3649 e03df62e-2008-0410-955e-edbf42e46eb7
2006-03-11MUCH FASTER squit! (and a TON more stable, too)brain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3648 e03df62e-2008-0410-955e-edbf42e46eb7