summaryrefslogtreecommitdiff
path: root/src/modules
AgeCommit message (Collapse)Author
2006-07-08Fix typobrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4192 e03df62e-2008-0410-955e-edbf42e46eb7
2006-07-08Port m_blockcaps to new api, remove OnExtendedMode and OnDisplayList events ↵brain
entirely git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4191 e03df62e-2008-0410-955e-edbf42e46eb7
2006-07-08Convert to new APIbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4190 e03df62e-2008-0410-955e-edbf42e46eb7
2006-07-08Convert u_listmode and m_banexception to new apibrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4189 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-07More stuff for m_pgsql in, provider-side API stuff semi-doneom
Add m_sqlv2 header for the new API git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4122 e03df62e-2008-0410-955e-edbf42e46eb7
2006-07-07modules.*: Put some void* back to char*, sorry if they were only like that ↵om
because of me... :p git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4119 e03df62e-2008-0410-955e-edbf42e46eb7
2006-07-03Change InspSocket's private members to only be protected, I couldn't find ↵om
any other way to do this before we get around to rewriting the socket engine. Commit very first, very alpha, not-very functional version of the PostgreSQL module. It compiles..and that's..err..about it git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4112 e03df62e-2008-0410-955e-edbf42e46eb7
2006-07-03Someone made silence require 1 parameter, so no way to list the silence ↵brain
entries :p git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4111 e03df62e-2008-0410-955e-edbf42e46eb7
2006-07-03Add m_connflood, pippijn's connect throttle module (now we are offering ↵brain
another paid unreal feature for nothing :p) git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4109 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-02Enhance with new numerics for latest turkish moron detectionbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4100 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-28Added SQLQuery::GetError() and removed a lot of space indentingspecial
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4078 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-24Dont allow /REMOVE of a uline, dont allow /REMOVE of a user who isnt on the ↵brain
channel (*slaps* Om) git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4057 e03df62e-2008-0410-955e-edbf42e46eb7
2006-06-23Forward port of samode editsspecial
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4054 e03df62e-2008-0410-955e-edbf42e46eb7
2006-06-23Remove un-needed cast, I have a horrible feeling I'll get stabbed for this. ↵om
Please let me know before you do... git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4052 e03df62e-2008-0410-955e-edbf42e46eb7
2006-06-23m_services_account - now with 100 percent more elite.w00t
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4050 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-19Forward-port CBAN expiry fixw00t
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4035 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-17Finished m_check. I am the best. It only took me 3 months :)w00t
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4023 e03df62e-2008-0410-955e-edbf42e46eb7
2006-06-16Now only logs commands from local opers, that are oper commands they have ↵brain
permission to execute git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4015 e03df62e-2008-0410-955e-edbf42e46eb7
2006-06-16Fix for m_ssl_openssl dying if the DH params file doesn't exist, compiles ↵om
but untested cause I'm sleepy :( git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4014 e03df62e-2008-0410-955e-edbf42e46eb7
2006-06-15Change to stdintbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4012 e03df62e-2008-0410-955e-edbf42e46eb7
2006-06-15Now uses mysql_config and mysql_rpath.plbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4007 e03df62e-2008-0410-955e-edbf42e46eb7
2006-06-15Nicer SQLQuery::Sanitisebrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4006 e03df62e-2008-0410-955e-edbf42e46eb7
2006-06-15Look at this further later - 64 bit fixesbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4004 e03df62e-2008-0410-955e-edbf42e46eb7
2006-06-07Fix for segfault if a user quits before their ident is complete, due to ↵brain
session limit reached Do this by checking their pointer in the fd_ref_table against the pointer we got when we started the lookup, so we can know if its been invalidated or not (just in case the OnClose occurs before we NULL the user) git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3992 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-06-03Fix for bug found by douglas - when replace= is undefined value (probably ↵brain
due to config error) a crash can occur, and this crash can (and will) propogate to other ircds on the network git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3986 e03df62e-2008-0410-955e-edbf42e46eb7
2006-06-01Fixed logic for OnWhois "is using SSL" numeric. Was broken: required the ↵brain
user to have the 'ssl' extensible AND be in the listen ports, so it didnt work on remote users which didnt have the listen port. Now properly checks to display by using: if(dest->GetExt("ssl") || (IS_LOCAL(dest) && isin(dest->port, listenports))) git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3984 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-30Apply mirq's optimization patchesbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3977 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-11Fix bug when knocking on non-existent channelbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3957 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-05-07LeaChim is a grammer nazeeom
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3938 e03df62e-2008-0410-955e-edbf42e46eb7