summaryrefslogtreecommitdiff
path: root/src/modules
AgeCommit message (Collapse)Author
2007-11-02Implement DELLINE, allow both DELLINE and ADDLINE to take a server OR client ↵brain
origin git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8468 e03df62e-2008-0410-955e-edbf42e46eb7
2007-11-02Hopefully fix the bursting of xlines to work again (even with unknown types) ↵brain
and also add facility to enumerate them git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8461 e03df62e-2008-0410-955e-edbf42e46eb7
2007-11-02Tidy up, and make the identifer for a line type be std::string not charbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8459 e03df62e-2008-0410-955e-edbf42e46eb7
2007-11-01Make misconfiguration of spanningtree more 'fatal' so we get less morons ↵brain
coming to us saying 'it wont link' and not knowing its skipped their invalid link tag git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8455 e03df62e-2008-0410-955e-edbf42e46eb7
2007-10-31Make it compilable :pbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8451 e03df62e-2008-0410-955e-edbf42e46eb7
2007-10-31Add XLine::SetCreateTime that removes gline_set_creation_time and friendsbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8449 e03df62e-2008-0410-955e-edbf42e46eb7
2007-10-31Use XLineFactory in ADDLINE, so that it can deal with anything the rest of ↵brain
the ircd knows about git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8444 e03df62e-2008-0410-955e-edbf42e46eb7
2007-10-31Make it all compile.brain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8443 e03df62e-2008-0410-955e-edbf42e46eb7
2007-10-31Spanningtree now compilesbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8435 e03df62e-2008-0410-955e-edbf42e46eb7
2007-10-31This one too, grrbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8434 e03df62e-2008-0410-955e-edbf42e46eb7
2007-10-31Bloody hell, just how many modules use this shitbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8433 e03df62e-2008-0410-955e-edbf42e46eb7
2007-10-31More fixesbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8432 e03df62e-2008-0410-955e-edbf42e46eb7
2007-10-29Big fat fixme herebrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8421 e03df62e-2008-0410-955e-edbf42e46eb7
2007-10-28PERL PIE FOR ALL: Rename a fuckload of XLineManager's methodsw00t
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8399 e03df62e-2008-0410-955e-edbf42e46eb7
2007-10-28- Tear out a useless load of XLine clutters that did nothing much except ↵w00t
confuse things - Revert back to early 1.0 design of using a single list for line storage. We'll make this work more efficiently than 1.0 though of course. This simplifies the code for expiry, checking, etc. - Merge a bunch of sort callbacks into a single sort callback for class XLine. - Horribly break apply_lines() for the time being. .. and that's probably it. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8398 e03df62e-2008-0410-955e-edbf42e46eb7
2007-10-28Add m_proxyscan -- someone can doubtless do a much better job of this, as ↵w00t
it's mostly a proof of concept at the moment. Opens a socket, sends a predefined string, awaits a predefined response. It sucks right now :p git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8397 e03df62e-2008-0410-955e-edbf42e46eb7
2007-10-27Dont echo the JOIN to the user whos speakingbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8393 e03df62e-2008-0410-955e-edbf42e46eb7
2007-10-27Whoops loused up a tweakbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8392 e03df62e-2008-0410-955e-edbf42e46eb7
2007-10-27Whoops backwardsbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8388 e03df62e-2008-0410-955e-edbf42e46eb7
2007-10-27Now plays nice with m_invisible, and fix a bug which allows users who havent ↵brain
spoken on a +D channel to remain invisible if they dont speak before an op removes the +D mode git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8385 e03df62e-2008-0410-955e-edbf42e46eb7
2007-10-27Remove debug stuffbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8384 e03df62e-2008-0410-955e-edbf42e46eb7
2007-10-26Fix a pretty silly goof-upbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8380 e03df62e-2008-0410-955e-edbf42e46eb7
2007-10-26Whoops, change Implements to use itbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8377 e03df62e-2008-0410-955e-edbf42e46eb7
2007-10-26Add new event for this with gauranteed delivery of message BEFORE the text ↵brain
is sent out git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8376 e03df62e-2008-0410-955e-edbf42e46eb7
2007-10-26Damnit! this should fix :pbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8375 e03df62e-2008-0410-955e-edbf42e46eb7
2007-10-26Whoops, ballsed up the nameslist generation :pbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8374 e03df62e-2008-0410-955e-edbf42e46eb7
2007-10-26Seems to work! Are you impressed, w00t? :pbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8373 e03df62e-2008-0410-955e-edbf42e46eb7
2007-10-26Might work might not. dont know yetbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8372 e03df62e-2008-0410-955e-edbf42e46eb7
2007-10-26Not complete yet, won't work!brain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8371 e03df62e-2008-0410-955e-edbf42e46eb7
2007-10-25Disable pedantic for this. Third party headers do silly stuff. long long?!brain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8369 e03df62e-2008-0410-955e-edbf42e46eb7
2007-10-25Make install list list automatically generated from build targets and ↵brain
provide facility for installing extra files. Using this, cert.pem and key.pem are only copied to the conf dir if you enabled an ssl module. Also, this provides facility for a 'make deinstall' which should be safe for use in all situations as it always specifies a file by name and never uses wildcards to rm. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8362 e03df62e-2008-0410-955e-edbf42e46eb7
2007-10-25Brain, look at this pls :pw00t
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8359 e03df62e-2008-0410-955e-edbf42e46eb7
2007-10-24Remove variadic macros from sqlv2 api, removing the warnings that come with ↵brain
it and increasing compatibility git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8353 e03df62e-2008-0410-955e-edbf42e46eb7
2007-10-24Last of the -pedantic fixes. Seems we were all good with -pedantic from the ↵brain
start :) Just seemed that -Wall -Wextra enables moron warnings. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8352 e03df62e-2008-0410-955e-edbf42e46eb7
2007-10-24Pedantic cleanbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8349 e03df62e-2008-0410-955e-edbf42e46eb7
2007-10-24/usr/local/include/openssl/pqueue.h:73: error: ISO C++ does not support ↵brain
`long long' /usr/local/include/openssl/pqueue.h:80: error: ISO C++ does not support `long long' /usr/local/include/openssl/pqueue.h:89: error: ISO C++ does not support `long long' ^^ openssl broken too, set $NoPedantic git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8347 e03df62e-2008-0410-955e-edbf42e46eb7
2007-10-24Theres no need to check the address of a stack declared array for NULL, ↵brain
thanks darix git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8340 e03df62e-2008-0410-955e-edbf42e46eb7
2007-10-23Move some stuff from using userrec cached stuff to using stuff in the ↵w00t
connect classes git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8339 e03df62e-2008-0410-955e-edbf42e46eb7
2007-10-23Add $NoPedantic build macro, for m_mysql because mysql AB dont know how to ↵brain
code :p git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8325 e03df62e-2008-0410-955e-edbf42e46eb7
2007-10-23All of insp now builds with -pedantic (theres some warnings to squash in ↵brain
modules, and in spanningtree, but its all 'unused parameter'). I suggest we actually go through and satisfy these unused parameter errors for two reasons: (1) it acts as a strong compiler hint leading to better optimization (2) it will give us a good clue of what parameters are NEVER used and should therefore be removed from use (like i just did with AddMode) git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8323 e03df62e-2008-0410-955e-edbf42e46eb7
2007-10-23Morebrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8322 e03df62e-2008-0410-955e-edbf42e46eb7
2007-10-23More AddModes fixesbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8321 e03df62e-2008-0410-955e-edbf42e46eb7
2007-10-23Some AddMode fixesbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8320 e03df62e-2008-0410-955e-edbf42e46eb7
2007-10-23Pedantic safebrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8314 e03df62e-2008-0410-955e-edbf42e46eb7
2007-10-22Remove a wrapper, it's easy to read as is :pw00t
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8300 e03df62e-2008-0410-955e-edbf42e46eb7
2007-10-21Oops, checked wrong var :pbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8294 e03df62e-2008-0410-955e-edbf42e46eb7
2007-10-21This works, not sure why. Someone find out why we cant use && ↵brain
!isock->HasResult() here? :p git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8293 e03df62e-2008-0410-955e-edbf42e46eb7
2007-10-21Another big commit, just to please all my fans out there.. cmd_* -> ↵w00t
Command*. Muahaha. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8290 e03df62e-2008-0410-955e-edbf42e46eb7
2007-10-213 second penalty to CYCLE.w00t
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8286 e03df62e-2008-0410-955e-edbf42e46eb7
2007-10-21Minor tweak to avoid a storm of redundant read events. This isnt the fix, i ↵brain
dont think, but its needed anyway git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8276 e03df62e-2008-0410-955e-edbf42e46eb7