summaryrefslogtreecommitdiff
path: root/src/modules
AgeCommit message (Collapse)Author
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
2007-10-21Remove debugbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8267 e03df62e-2008-0410-955e-edbf42e46eb7
2007-10-21Fixed ssl clients on trunk. The problem peavey was having was that before ↵brain
ReadBuffer was char[] now its char*. sizeof() on char[] returns its size in chars, and sizeof on char* returns 4. :p git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8263 e03df62e-2008-0410-955e-edbf42e46eb7
2007-10-21This now sets User::ExemptFromPenalty toobrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8261 e03df62e-2008-0410-955e-edbf42e46eb7
2007-10-21Don't penalize any of the SA commandsbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8260 e03df62e-2008-0410-955e-edbf42e46eb7
2007-10-21Remove next_call garbage.. It didn't really do much more than obfuscate ↵w00t
things. InspIRCd::DoBackgroundUserStuff() is now called once per second, roughly. This will (of course) not be going into 1.1.x git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8241 e03df62e-2008-0410-955e-edbf42e46eb7
2007-10-19Fix small memory leak (this cant theoretically happen anyway unless you ↵brain
remove a network interface while an ident is connecting, and then youll only leak 12 bytes) git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8234 e03df62e-2008-0410-955e-edbf42e46eb7
2007-10-18Tons of comments!brain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8233 e03df62e-2008-0410-955e-edbf42e46eb7
2007-10-18Fix here toobrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8229 e03df62e-2008-0410-955e-edbf42e46eb7
2007-10-18Yay fixedbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8226 e03df62e-2008-0410-955e-edbf42e46eb7
2007-10-18Socket engine tweaks to fix a glitch, and improvements to new m_identbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8225 e03df62e-2008-0410-955e-edbf42e46eb7
2007-10-18Set IdentRequestSocket::done on failure to getsockname() in OnConnectedbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8224 e03df62e-2008-0410-955e-edbf42e46eb7
2007-10-18This new ident module now seems to work rudimentarily.brain
Should be safe to backport to 1.1, then make look nicer in 1.2, its pretty neat as it stands though. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8223 e03df62e-2008-0410-955e-edbf42e46eb7
2007-10-18No gaurantees this works AT ALL. do not use yet!!!brain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8222 e03df62e-2008-0410-955e-edbf42e46eb7
2007-10-17Remove debugbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8221 e03df62e-2008-0410-955e-edbf42e46eb7
2007-10-17UID translator broken with space or comma seperated lists (thanks danieldg)brain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8220 e03df62e-2008-0410-955e-edbf42e46eb7
2007-10-15InspSocket -> BufferedSocket. Paves the way for a SimpleSocket class which ↵w00t
ident etc will use. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8206 e03df62e-2008-0410-955e-edbf42e46eb7
2007-10-15InspTimer -> Timerw00t
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8205 e03df62e-2008-0410-955e-edbf42e46eb7
2007-10-15In the grand tradition of huge fucking commits:w00t
- chanrec -> Channel - userrec -> User Enjoy. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8204 e03df62e-2008-0410-955e-edbf42e46eb7
2007-10-15class command_t -> class Command. Whey :Dw00t
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8203 e03df62e-2008-0410-955e-edbf42e46eb7
2007-10-14Fix indentationbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8188 e03df62e-2008-0410-955e-edbf42e46eb7
2007-10-14Split up spanningtree some more, the filenames should be more intuitive so ↵brain
that developers know where to find stuff (more of this is coming soon) git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8187 e03df62e-2008-0410-955e-edbf42e46eb7
2007-10-14Change the way origins are shown in snonotice, for djGrrr :pbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8181 e03df62e-2008-0410-955e-edbf42e46eb7
2007-10-13Fixes for potential 4 byte memory leak, and crashbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8169 e03df62e-2008-0410-955e-edbf42e46eb7
2007-10-13And some more tweaks to make sure it frees memory :Pbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8167 e03df62e-2008-0410-955e-edbf42e46eb7
2007-10-13More fixes to the ident stuff to make sure that one socket doesnt go before ↵brain
the other, without the one thats left knowing its gone! git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8166 e03df62e-2008-0410-955e-edbf42e46eb7
2007-10-13Tweaksbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8165 e03df62e-2008-0410-955e-edbf42e46eb7
2007-10-13Fix uninitialized var that may stop the ping warning from appearing, thanks ↵brain
djGrrr git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8162 e03df62e-2008-0410-955e-edbf42e46eb7
2007-10-13IMPORTANT checks in here that special took out thinking they were no longer ↵brain
required. Because of the fact that the inspsocket cull comes after the user cull these *are* required. This was bought up in discussion many weeks ago but i guess we both thought the other had added these back! git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8159 e03df62e-2008-0410-955e-edbf42e46eb7
2007-10-13This fixes a deletion error here, we were using new[] and not using ↵brain
delete[], but delete instead. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8157 e03df62e-2008-0410-955e-edbf42e46eb7
2007-10-13Add sanity checks to the ssl modules so that theres no possibility of an out ↵brain
of range fd being passed to the events. The cull_list commit is a tidy-up only. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8155 e03df62e-2008-0410-955e-edbf42e46eb7
2007-10-11Silent CHGIDENT for ulines to prevent noisyness from anopebrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8151 e03df62e-2008-0410-955e-edbf42e46eb7
2007-10-11Check is off by one, this wont break anything but will cut a character off ↵brain
the set ident git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8149 e03df62e-2008-0410-955e-edbf42e46eb7