summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2006-06-29Forward port of CullList and my bragging rightsspecial
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4087 e03df62e-2008-0410-955e-edbf42e46eb7
2006-06-29And add the include to make all the modules compile...om
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4085 e03df62e-2008-0410-955e-edbf42e46eb7
2006-06-29This already adds the file and line number itself, call do_log() rather than ↵om
log() then git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4084 e03df62e-2008-0410-955e-edbf42e46eb7
2006-06-29You don't need to cast a char* to a char* to put it through a const char*...om
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4083 e03df62e-2008-0410-955e-edbf42e46eb7
2006-06-29Remove hardcoded filename prefix to log message, with the new macro these ↵om
are un-needed. Remove un-needed cast, ffs guys, templates stop you needing to cast the stuff inside them... So why do you do it anyway? :< git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4082 e03df62e-2008-0410-955e-edbf42e46eb7
2006-06-29Change log() to a #define, the real symbol is now do_log(), the new macro ↵om
auto-prefixes all log messages with the file and line number where log() was called - should be nice for debugging and telling wtf is coming from what.Currently uses a (probably very standard) g++ extension to make the macro work. Shouldn't be an issue. You must make clean and rebuild all of insp. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4081 e03df62e-2008-0410-955e-edbf42e46eb7
2006-06-29Convert char* to const char* in InspSocket constructor prototype. Shouldn't ↵om
break anything but ought to help lose some ugleh casts... >:) git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4080 e03df62e-2008-0410-955e-edbf42e46eb7
2006-06-28Added missing return in Server::UnpublishFeature()special
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4079 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-28Allow binding to hosts again in <bind> and <link>brain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4074 e03df62e-2008-0410-955e-edbf42e46eb7
2006-06-27Add m_services_accountbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4072 e03df62e-2008-0410-955e-edbf42e46eb7
2006-06-27Commentingbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4069 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-27Added auto-binding, picks the first ip in the <bind> tags that isnt ↵brain
localhost or INADDR_ANY, and auto binds to that IP to allow us to put back the security tweak git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4064 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-24Forwardport of safety fixes for Write* functionsbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4056 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-22I'm famous :>special
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4046 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-22Fix for ./inspircd restart not working half the timespecial
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4042 e03df62e-2008-0410-955e-edbf42e46eb7
2006-06-21Added Server::PublishFeature(),brain
Server::UnpublishFeature(), Server::FindFeature(). See comments in modules.h for usage git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4041 e03df62e-2008-0410-955e-edbf42e46eb7
2006-06-20Class Request and class Event now take a void* in their constructor to save ↵brain
on a cast. Please note that the data type *returned* by GetData() in both cases is still char*, as C++ will not let you return a void*. This to be addressed by someone else with templates when they have the time. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4038 e03df62e-2008-0410-955e-edbf42e46eb7
2006-06-20Don't allow non-ulines to kick ulines from channels - return numeric 482 if ↵brain
this is attempted (you are not a chanop) with different text git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4036 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-15Tweaksbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4013 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-15Helper script for rpath of mysqlbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4008 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-13Remove reference to secret ChatSpike CC # detection featuresom
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4000 e03df62e-2008-0410-955e-edbf42e46eb7
2006-06-12If the <ALLOW> or <DENY> tag specifies an ip, and this user resolves,brain
then their ip will be taken as 'priority' anyway, so for example, <connect allow="127.0.0.1"> will match joe!bloggs@localhost git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3997 e03df62e-2008-0410-955e-edbf42e46eb7
2006-06-08Test commitbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3996 e03df62e-2008-0410-955e-edbf42e46eb7
2006-06-08Fix for mode string getting cut, breaks on some +Lbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3995 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-04Fix for an/a and vowel detection in "is an ircop" numeric, noticed by Smartysbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3988 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