aboutsummaryrefslogtreecommitdiffstats
path: root/src/modules
Commit message (Collapse)AuthorAgeFilesLines
...
* Convert u_listmode and m_banexception to new apiGravatar brain2006-07-081-4/+36
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4189 e03df62e-2008-0410-955e-edbf42e46eb7
* Refactored user modes to work like the channel modes - core and module data ↵Gravatar brain2006-07-0812-40/+23
| | | | | | now the same storage format without ::modebits git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4175 e03df62e-2008-0410-955e-edbf42e46eb7
* More stuff for m_pgsql in, provider-side API stuff semi-doneGravatar om2006-07-072-45/+225
| | | | | | Add m_sqlv2 header for the new API git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4122 e03df62e-2008-0410-955e-edbf42e46eb7
* modules.*: Put some void* back to char*, sorry if they were only like that ↵Gravatar om2006-07-071-28/+36
| | | | | | because of me... :p git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4119 e03df62e-2008-0410-955e-edbf42e46eb7
* Change InspSocket's private members to only be protected, I couldn't find ↵Gravatar om2006-07-031-0/+519
| | | | | | | | 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
* Someone made silence require 1 parameter, so no way to list the silence ↵Gravatar brain2006-07-031-1/+1
| | | | | | entries :p git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4111 e03df62e-2008-0410-955e-edbf42e46eb7
* Add m_connflood, pippijn's connect throttle module (now we are offering ↵Gravatar brain2006-07-031-0/+147
| | | | | | another paid unreal feature for nothing :p) git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4109 e03df62e-2008-0410-955e-edbf42e46eb7
* Cleanups, change ugly if(\!*line.c_str()) to if(line.empty()); remove some ↵Gravatar om2006-07-031-18/+10
| | | | | | craq.. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4107 e03df62e-2008-0410-955e-edbf42e46eb7
* Make spanningtree compile again >_<Gravatar om2006-07-031-1/+1
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4103 e03df62e-2008-0410-955e-edbf42e46eb7
* Typo fixGravatar om2006-07-031-2/+4
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4102 e03df62e-2008-0410-955e-edbf42e46eb7
* Enhance with new numerics for latest turkish moron detectionGravatar brain2006-07-021-0/+2
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4100 e03df62e-2008-0410-955e-edbf42e46eb7
* Change WriteChannelWithServ and it's _NoFormat to take a const char* ↵Gravatar om2006-07-011-19/+16
| | | | | | | | | | 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
* Replace rather craq'y loop with a couple of std::string callsGravatar om2006-07-011-12/+12
| | | | | | | | 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
* *** Interesting fix ***Gravatar brain2006-06-301-0/+16
| | | | | | | | | 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
* Added SQLQuery::GetError() and removed a lot of space indentingGravatar special2006-06-281-63/+69
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4078 e03df62e-2008-0410-955e-edbf42e46eb7
* More stuff for allowing hostnames in <bind> and <link> again - note there is ↵Gravatar brain2006-06-281-0/+12
| | | | | | a FIXME here. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4076 e03df62e-2008-0410-955e-edbf42e46eb7
* We can re-enable special's security fix now - note this is good for boxes ↵Gravatar brain2006-06-271-4/+1
| | | | | | 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
* Temporarily disable special's security improvement until we have either/or ↵Gravatar brain2006-06-271-1/+4
| | | | | | bind= and mask= git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4063 e03df62e-2008-0410-955e-edbf42e46eb7
* Extra safety for user lists to not keep bad pointers hanging aboutGravatar brain2006-06-251-0/+1
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4059 e03df62e-2008-0410-955e-edbf42e46eb7
* Dont allow /REMOVE of a uline, dont allow /REMOVE of a user who isnt on the ↵Gravatar brain2006-06-241-1/+7
| | | | | | channel (*slaps* Om) git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4057 e03df62e-2008-0410-955e-edbf42e46eb7
* Forward port of samode editsGravatar special2006-06-231-5/+5
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4054 e03df62e-2008-0410-955e-edbf42e46eb7
* Remove un-needed cast, I have a horrible feeling I'll get stabbed for this. ↵Gravatar om2006-06-231-1/+1
| | | | | | Please let me know before you do... git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4052 e03df62e-2008-0410-955e-edbf42e46eb7
* m_services_account - now with 100 percent more elite.Gravatar w00t2006-06-231-0/+273
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4050 e03df62e-2008-0410-955e-edbf42e46eb7
* Forward port of server link DDoS/oper flood fixGravatar special2006-06-221-0/+20
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4045 e03df62e-2008-0410-955e-edbf42e46eb7
* Forward-port CBAN expiry fixGravatar w00t2006-06-191-14/+30
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4035 e03df62e-2008-0410-955e-edbf42e46eb7
* On remote kill, send KILL notice. mIRC doesnt seem happy with just the ↵Gravatar brain2006-06-171-0/+1
| | | | | | 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
* Bring forward fix for w00t.Gravatar brain2006-06-171-1/+3
| | | | | | | | 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
* Finished m_check. I am the best. It only took me 3 months :)Gravatar w00t2006-06-171-0/+32
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4023 e03df62e-2008-0410-955e-edbf42e46eb7
* Now only logs commands from local opers, that are oper commands they have ↵Gravatar brain2006-06-161-1/+1
| | | | | | permission to execute git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4015 e03df62e-2008-0410-955e-edbf42e46eb7
* Fix for m_ssl_openssl dying if the DH params file doesn't exist, compiles ↵Gravatar om2006-06-161-5/+6
| | | | | | but untested cause I'm sleepy :( git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4014 e03df62e-2008-0410-955e-edbf42e46eb7
* Change to stdintGravatar brain2006-06-151-5/+6
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4012 e03df62e-2008-0410-955e-edbf42e46eb7
* Now uses mysql_config and mysql_rpath.plGravatar brain2006-06-151-2/+2
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4007 e03df62e-2008-0410-955e-edbf42e46eb7
* Nicer SQLQuery::SanitiseGravatar brain2006-06-151-11/+17
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4006 e03df62e-2008-0410-955e-edbf42e46eb7
* Look at this further later - 64 bit fixesGravatar brain2006-06-151-1/+1
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4004 e03df62e-2008-0410-955e-edbf42e46eb7
* Fix for segfault if a user quits before their ident is complete, due to ↵Gravatar brain2006-06-071-6/+26
| | | | | | | | | | | 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
* Fix for collisions when clock is outGravatar brain2006-06-051-1/+1
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3991 e03df62e-2008-0410-955e-edbf42e46eb7
* Fix for bug found by douglas - when replace= is undefined value (probably ↵Gravatar brain2006-06-031-1/+1
| | | | | | 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
* Fixed logic for OnWhois "is using SSL" numeric. Was broken: required the ↵Gravatar brain2006-06-012-3/+3
| | | | | | | | | 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
* Prevent crash when displaying error for server already existing (this only ↵Gravatar brain2006-05-311-2/+2
| | | | | | happens for lauren anyway) git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3980 e03df62e-2008-0410-955e-edbf42e46eb7
* Apply mirq's optimization patchesGravatar brain2006-05-303-45/+7
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3977 e03df62e-2008-0410-955e-edbf42e46eb7
* Corresponding forward-portGravatar brain2006-05-241-0/+2
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3970 e03df62e-2008-0410-955e-edbf42e46eb7
* More debuggingGravatar brain2006-05-241-1/+8
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3968 e03df62e-2008-0410-955e-edbf42e46eb7
* Prevent SYNCTS bounceGravatar brain2006-05-241-1/+1
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3967 e03df62e-2008-0410-955e-edbf42e46eb7
* ALL THROW A WHILD PARTY! CRASH-ON-NETSPLIT should be fixed!!!Gravatar brain2006-05-241-2/+18
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3964 e03df62e-2008-0410-955e-edbf42e46eb7
* Fix bug when knocking on non-existent channelGravatar brain2006-05-111-0/+7
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3957 e03df62e-2008-0410-955e-edbf42e46eb7
* Fix for crash on: /OS RAW PUSH non-existent-nick :::nick!ident@host KICK ↵Gravatar brain2006-05-101-0/+3
| | | | | | | | | #chan nick :any reason (yes, REALLY.) git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3942 e03df62e-2008-0410-955e-edbf42e46eb7
* LeaChim is a grammer nazeeGravatar om2006-05-071-2/+1
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3938 e03df62e-2008-0410-955e-edbf42e46eb7
* Added satmd's multi-channel patch, and matched with inspircd coding-style ↵Gravatar brain2006-05-071-1/+25
| | | | | | and indent-style git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3937 e03df62e-2008-0410-955e-edbf42e46eb7
* Fixed char* -> std::string typoGravatar brain2006-05-061-1/+1
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3935 e03df62e-2008-0410-955e-edbf42e46eb7
* Oper logging module -- this still needs test compiling and test runningGravatar brain2006-05-061-0/+104
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3933 e03df62e-2008-0410-955e-edbf42e46eb7