aboutsummaryrefslogtreecommitdiffstats
path: root/src/modules
Commit message (Collapse)AuthorAgeFilesLines
...
* All of insp now builds with -pedantic (theres some warnings to squash in ↵Gravatar brain2007-10-2323-25/+27
| | | | | | | | | | | 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
* MoreGravatar brain2007-10-2319-20/+20
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8322 e03df62e-2008-0410-955e-edbf42e46eb7
* More AddModes fixesGravatar brain2007-10-233-3/+3
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8321 e03df62e-2008-0410-955e-edbf42e46eb7
* Some AddMode fixesGravatar brain2007-10-235-5/+5
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8320 e03df62e-2008-0410-955e-edbf42e46eb7
* Pedantic safeGravatar brain2007-10-234-4/+4
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8314 e03df62e-2008-0410-955e-edbf42e46eb7
* Remove a wrapper, it's easy to read as is :pGravatar w00t2007-10-221-2/+2
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8300 e03df62e-2008-0410-955e-edbf42e46eb7
* Oops, checked wrong var :pGravatar brain2007-10-211-1/+1
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8294 e03df62e-2008-0410-955e-edbf42e46eb7
* This works, not sure why. Someone find out why we cant use && ↵Gravatar brain2007-10-211-1/+4
| | | | | | !isock->HasResult() here? :p git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8293 e03df62e-2008-0410-955e-edbf42e46eb7
* Another big commit, just to please all my fans out there.. cmd_* -> ↵Gravatar w00t2007-10-2147-213/+213
| | | | | | Command*. Muahaha. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8290 e03df62e-2008-0410-955e-edbf42e46eb7
* 3 second penalty to CYCLE.Gravatar w00t2007-10-211-1/+1
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8286 e03df62e-2008-0410-955e-edbf42e46eb7
* Minor tweak to avoid a storm of redundant read events. This isnt the fix, i ↵Gravatar brain2007-10-211-2/+3
| | | | | | dont think, but its needed anyway git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8276 e03df62e-2008-0410-955e-edbf42e46eb7
* Remove debugGravatar brain2007-10-211-20/+0
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8267 e03df62e-2008-0410-955e-edbf42e46eb7
* Fixed ssl clients on trunk. The problem peavey was having was that before ↵Gravatar brain2007-10-211-7/+15
| | | | | | 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
* This now sets User::ExemptFromPenalty tooGravatar brain2007-10-211-0/+1
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8261 e03df62e-2008-0410-955e-edbf42e46eb7
* Don't penalize any of the SA commandsGravatar brain2007-10-215-5/+5
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8260 e03df62e-2008-0410-955e-edbf42e46eb7
* Remove next_call garbage.. It didn't really do much more than obfuscate ↵Gravatar w00t2007-10-211-1/+0
| | | | | | 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
* Fix small memory leak (this cant theoretically happen anyway unless you ↵Gravatar brain2007-10-191-0/+1
| | | | | | 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
* Tons of comments!Gravatar brain2007-10-181-18/+108
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8233 e03df62e-2008-0410-955e-edbf42e46eb7
* Fix here tooGravatar brain2007-10-181-1/+1
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8229 e03df62e-2008-0410-955e-edbf42e46eb7
* Yay fixedGravatar brain2007-10-181-1/+2
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8226 e03df62e-2008-0410-955e-edbf42e46eb7
* Socket engine tweaks to fix a glitch, and improvements to new m_identGravatar brain2007-10-181-0/+1
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8225 e03df62e-2008-0410-955e-edbf42e46eb7
* Set IdentRequestSocket::done on failure to getsockname() in OnConnectedGravatar brain2007-10-181-0/+3
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8224 e03df62e-2008-0410-955e-edbf42e46eb7
* This new ident module now seems to work rudimentarily.Gravatar brain2007-10-181-5/+37
| | | | | | | 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
* No gaurantees this works AT ALL. do not use yet!!!Gravatar brain2007-10-181-151/+195
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8222 e03df62e-2008-0410-955e-edbf42e46eb7
* Remove debugGravatar brain2007-10-171-4/+0
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8221 e03df62e-2008-0410-955e-edbf42e46eb7
* UID translator broken with space or comma seperated lists (thanks danieldg)Gravatar brain2007-10-171-0/+4
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8220 e03df62e-2008-0410-955e-edbf42e46eb7
* InspSocket -> BufferedSocket. Paves the way for a SimpleSocket class which ↵Gravatar w00t2007-10-1520-79/+79
| | | | | | ident etc will use. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8206 e03df62e-2008-0410-955e-edbf42e46eb7
* InspTimer -> TimerGravatar w00t2007-10-156-12/+12
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8205 e03df62e-2008-0410-955e-edbf42e46eb7
* In the grand tradition of huge fucking commits:Gravatar w00t2007-10-15150-779/+779
| | | | | | | | - chanrec -> Channel - userrec -> User Enjoy. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8204 e03df62e-2008-0410-955e-edbf42e46eb7
* class command_t -> class Command. Whey :DGravatar w00t2007-10-1558-120/+120
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8203 e03df62e-2008-0410-955e-edbf42e46eb7
* Fix indentationGravatar brain2007-10-1410-408/+408
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8188 e03df62e-2008-0410-955e-edbf42e46eb7
* Split up spanningtree some more, the filenames should be more intuitive so ↵Gravatar brain2007-10-1411-447/+798
| | | | | | 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
* Change the way origins are shown in snonotice, for djGrrr :pGravatar brain2007-10-141-3/+3
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8181 e03df62e-2008-0410-955e-edbf42e46eb7
* Fixes for potential 4 byte memory leak, and crashGravatar brain2007-10-131-9/+21
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8169 e03df62e-2008-0410-955e-edbf42e46eb7
* And some more tweaks to make sure it frees memory :PGravatar brain2007-10-131-0/+8
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8167 e03df62e-2008-0410-955e-edbf42e46eb7
* More fixes to the ident stuff to make sure that one socket doesnt go before ↵Gravatar brain2007-10-131-6/+32
| | | | | | 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
* TweaksGravatar brain2007-10-131-1/+3
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8165 e03df62e-2008-0410-955e-edbf42e46eb7
* Fix uninitialized var that may stop the ping warning from appearing, thanks ↵Gravatar brain2007-10-131-2/+2
| | | | | | djGrrr git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8162 e03df62e-2008-0410-955e-edbf42e46eb7
* IMPORTANT checks in here that special took out thinking they were no longer ↵Gravatar brain2007-10-131-3/+30
| | | | | | | | | 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
* This fixes a deletion error here, we were using new[] and not using ↵Gravatar brain2007-10-131-9/+9
| | | | | | delete[], but delete instead. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8157 e03df62e-2008-0410-955e-edbf42e46eb7
* Add sanity checks to the ssl modules so that theres no possibility of an out ↵Gravatar brain2007-10-132-0/+40
| | | | | | | | | 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
* Silent CHGIDENT for ulines to prevent noisyness from anopeGravatar brain2007-10-111-1/+3
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8151 e03df62e-2008-0410-955e-edbf42e46eb7
* Check is off by one, this wont break anything but will cut a character off ↵Gravatar brain2007-10-111-1/+1
| | | | | | the set ident git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8149 e03df62e-2008-0410-955e-edbf42e46eb7
* Fix for bug #435 and fix return codes (these cannot be localonly for ↵Gravatar brain2007-10-111-2/+2
| | | | | | add/remove as its more efficient to propogate the SILENCE to the remote server so that messages can be blocked there and not routed) git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8145 e03df62e-2008-0410-955e-edbf42e46eb7
* Change 'unrecognised command BLAH' to 'unrecognised or malformed command ↵Gravatar brain2007-10-091-1/+1
| | | | | | BLAH' just to make it obvious to lazy people. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8140 e03df62e-2008-0410-955e-edbf42e46eb7
* sanity check for existing server in DoFailOver seems to have vanished!Gravatar brain2007-10-091-2/+10
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8138 e03df62e-2008-0410-955e-edbf42e46eb7
* dz is determined to crash your ircd :PGravatar special2007-10-071-1/+1
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8132 e03df62e-2008-0410-955e-edbf42e46eb7
* Fixed bug #434 (cycle allows bypassing modes for users outside of the ↵Gravatar special2007-10-071-2/+8
| | | | | | channel). Patch by dz git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8131 e03df62e-2008-0410-955e-edbf42e46eb7
* PROPAGATE this fixGravatar brain2007-10-036-8/+8
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8118 e03df62e-2008-0410-955e-edbf42e46eb7
* Cut out redundant loop from nickname introductions, also ensure that each ↵Gravatar brain2007-10-031-10/+7
| | | | | | UID message is immediately followed by any metadata related to that nickname git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8116 e03df62e-2008-0410-955e-edbf42e46eb7