summaryrefslogtreecommitdiff
path: root/src/modules/m_cgiirc.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Fix an uninitialised variable in ConfigReader::GetError()Gravatar w00t2008-11-021-2/+2
| | | | git-svn-id: http://svn.inspircd.org/repository/branches/1_1_stable@10789 e03df62e-2008-0410-955e-edbf42e46eb7
* Backport leak on /rehash fix.Gravatar w00t2008-11-021-2/+2
| | | | git-svn-id: http://svn.inspircd.org/repository/branches/1_1_stable@10788 e03df62e-2008-0410-955e-edbf42e46eb7
* Fix a low risk race condition which could result in crashes, spotted by ↵Gravatar w00t2008-10-281-6/+33
| | | | | | Szymek - big thanks! :) git-svn-id: http://svn.inspircd.org/repository/branches/1_1_stable@10747 e03df62e-2008-0410-955e-edbf42e46eb7
* Replace the IP (in addition to hostname) for CGIIRC clients; fixes glines ↵Gravatar special2008-09-291-17/+16
| | | | | | and zlines on IPs affecting cgiirc users. Thanks to Saz|Laptop git-svn-id: http://svn.inspircd.org/repository/branches/1_1_stable@10608 e03df62e-2008-0410-955e-edbf42e46eb7
* Fix for crash when matching user with a kline on connect (userrec* sent to ↵Gravatar brain2008-04-121-1/+37
| | | | | | | | | %s rather than userrec::nick!) Fix for bug #505 in stable, reported by nenolod git-svn-id: http://svn.inspircd.org/repository/branches/1_1_stable@9470 e03df62e-2008-0410-955e-edbf42e46eb7
* Hosts vector not cleared on rehash, made rehashing impossibleGravatar brain2008-04-071-0/+1
| | | | git-svn-id: http://svn.inspircd.org/repository/branches/1_1_stable@9413 e03df62e-2008-0410-955e-edbf42e46eb7
* Don't declare a dupe InspIRCd *Gravatar w00t2008-02-111-1/+0
| | | | git-svn-id: http://svn.inspircd.org/repository/branches/1_1_stable@8897 e03df62e-2008-0410-955e-edbf42e46eb7
* Backport low risk memory leak fix to m_cgiirc (r8852)Gravatar w00t2008-02-081-2/+2
| | | | git-svn-id: http://svn.inspircd.org/repository/branches/1_1_stable@8853 e03df62e-2008-0410-955e-edbf42e46eb7
* Header update: 2007 -> 2008Gravatar w00t2008-01-101-1/+1
| | | | git-svn-id: http://svn.inspircd.org/repository/branches/1_1_stable@8695 e03df62e-2008-0410-955e-edbf42e46eb7
* Tidy up some minor memory leaks that can result in mode handlers or some ↵Gravatar brain2007-11-091-1/+1
| | | | | | other memory items not being freed if the module throws in the constructor git-svn-id: http://svn.inspircd.org/repository/branches/1_1_stable@8550 e03df62e-2008-0410-955e-edbf42e46eb7
* Merge from trunk, eliminate warning when building with anal flagsGravatar brain2007-07-261-8/+15
| | | | git-svn-id: http://svn.inspircd.org/repository/branches/1_1_stable@7584 e03df62e-2008-0410-955e-edbf42e46eb7
* OOPS! We try again, since I'm smoking craq. LF is 0x0a NOT CR.Gravatar peavey2007-07-161-1/+511
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7456 e03df62e-2008-0410-955e-edbf42e46eb7
* 'svn propset -R svn:eol-style CR *' Set to UNIX-style always. Binaries are ↵Gravatar peavey2007-07-161-511/+1
| | | | | | auto skipped by svn. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7454 e03df62e-2008-0410-955e-edbf42e46eb7
* Fix for bug #349: NOTE there is important caveat about this in the example ↵Gravatar brain2007-07-151-1/+13
| | | | | | | | | | config, MAKE SURE TO READ IT. When you connect a cgi:irc client two different connect classes are checked at two different times (first the one that the website they are cgi'ing from, then later one for the user's real ip). READ THIS AND UNDERSTAND IT! git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7440 e03df62e-2008-0410-955e-edbf42e46eb7
* Apply patch from lain to fix multiple cgihosts not being read correctly.Gravatar peavey2007-07-121-13/+13
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7436 e03df62e-2008-0410-955e-edbf42e46eb7
* Removed superfluous semicolonsGravatar pippijn2007-07-031-1/+1
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7423 e03df62e-2008-0410-955e-edbf42e46eb7
* More factory conversionGravatar w00t2007-06-171-23/+1
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7350 e03df62e-2008-0410-955e-edbf42e46eb7
* Apply ipv6 #ifdef tidyup patch from djGrrr, thanks :)Gravatar brain2007-05-301-3/+1
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7190 e03df62e-2008-0410-955e-edbf42e46eb7
* - Fix some win32 warnings in a way that won't crash gcc compiles (I thought ↵Gravatar w00t2007-05-261-2/+2
| | | | | | I fixed this) git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7144 e03df62e-2008-0410-955e-edbf42e46eb7
* - Fix two minor warnings here (catch (ModuleException& e) -> catch ↵Gravatar w00t2007-05-221-2/+2
| | | | | | (ModuleException), as we're not actually using e). Noted on w32, compiles ok, stab me if it breaks linux (I don't think it will.) git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7121 e03df62e-2008-0410-955e-edbf42e46eb7
* Header rearrangement, move inspircd.h to top, remove stdio, stdlib, ↵Gravatar brain2007-05-211-4/+1
| | | | | | | | | stdblahblah that we dont even use, remove redeclared <string>, <map>, <vector>. This (1) fixes the irc::string::move warnings on vc8 (2) speeds up compile a lot git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7098 e03df62e-2008-0410-955e-edbf42e46eb7
* Windows support. Tested and working to compile on freebsd and linux. Next ↵Gravatar w00t2007-05-191-5/+7
| | | | | | step is to make sure it actually works in windows too. ;p. Add Burlex to contributors. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7043 e03df62e-2008-0410-955e-edbf42e46eb7
* Add m_taxonomy and api minor tweak to make it work, enable some modules for it.Gravatar brain2007-05-101-1/+1
| | | | | | | I have higher aims for this module, namely a neat fix for feature request in bug #285 git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6967 e03df62e-2008-0410-955e-edbf42e46eb7
* Add third parameter to OnUserQuit (quit reason for opers only) - bump api ↵Gravatar brain2007-03-151-1/+1
| | | | | | | | | | | version Add SetOperQuit and GetOperQuit methods to userrec Add OPERQUIT command to protocol - bump protocol version All this is to properly allow hidebans etc to work properly git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6675 e03df62e-2008-0410-955e-edbf42e46eb7
* Patch by satmd to support using IP addresses with cgiircGravatar special2007-03-081-3/+22
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6634 e03df62e-2008-0410-955e-edbf42e46eb7
* Allow for the cgiirc module to change the users host if it doesnt resolveGravatar brain2007-03-031-3/+7
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6622 e03df62e-2008-0410-955e-edbf42e46eb7
* Fix double-dereference in CheckIdent and CheckPass which causes the values ↵Gravatar brain2007-03-031-6/+6
| | | | | | of the userrec to be overwritten with an ascii ip address. (oops!) Fixes primary cause for bug #215, NEEDS QA TESTING git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6620 e03df62e-2008-0410-955e-edbf42e46eb7
* Force ipv4 lookups here - cgiirc doesnt support ipv6 anyway.Gravatar brain2007-02-141-1/+1
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6582 e03df62e-2008-0410-955e-edbf42e46eb7
* Merge patch for WEBIRC command from satmdGravatar brain2007-02-101-6/+69
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6565 e03df62e-2008-0410-955e-edbf42e46eb7
* Remember: C++ only works if you type the right method names and not ones ↵Gravatar brain2007-02-071-2/+2
| | | | | | that dont exist. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6542 e03df62e-2008-0410-955e-edbf42e46eb7
* Ident fixes,Gravatar brain2007-02-071-2/+2
| | | | | | | | removal of some old craq we dont use. cgiirc optimizations and tidyups git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6541 e03df62e-2008-0410-955e-edbf42e46eb7
* Fix ipv6 ass-u-me'sGravatar brain2007-02-071-2/+2
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6540 e03df62e-2008-0410-955e-edbf42e46eb7
* Add InvalidateCache() calls and fix a ton of ass-u-me :/Gravatar brain2007-02-071-3/+8
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6539 e03df62e-2008-0410-955e-edbf42e46eb7
* Make this work when we have both ipv6 and ipv4 connections at onceGravatar brain2007-02-071-3/+11
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6538 e03df62e-2008-0410-955e-edbf42e46eb7
* Mass comment removal.Gravatar brain2007-01-171-20/+3
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6367 e03df62e-2008-0410-955e-edbf42e46eb7
* Document dns caching, add a "bool cached" to OnLookupComplete method in ↵Gravatar brain2007-01-071-1/+1
| | | | | | Resolver, and and add " -- cached" to end of 'looking up your host' string if their result is a cached result git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6254 e03df62e-2008-0410-955e-edbf42e46eb7
* DNS caching stuff (almost done)Gravatar brain2007-01-071-8/+2
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6252 e03df62e-2008-0410-955e-edbf42e46eb7
* DNS Stuff - this wont work right yet, it will soon (tm)Gravatar brain2007-01-071-6/+14
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6250 e03df62e-2008-0410-955e-edbf42e46eb7
* Add TTL stuff to dns system (pass it to inherited objects)Gravatar brain2007-01-071-1/+1
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6247 e03df62e-2008-0410-955e-edbf42e46eb7
* Fix to allow for OnRehash to know what user initiated the rehashGravatar brain2007-01-011-2/+2
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6207 e03df62e-2008-0410-955e-edbf42e46eb7
* Remove global namespacing, makes modules compile FASTAH. Also massive update ↵Gravatar w00t2006-12-151-7/+3
| | | | | | on headers (change to InspIRCd Development Team, extend copyright to 2007). git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5995 e03df62e-2008-0410-955e-edbf42e46eb7
* fix for bug #175, change OnUserRegister to return int, and if greater than 0 ↵Gravatar peavey2006-11-211-3/+3
| | | | | | = user was quit and stop propagating to rest of loaded modules. Also bumb the module API version. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5783 e03df62e-2008-0410-955e-edbf42e46eb7
* Add fix for patch #166 (this is a reasonably big one)Gravatar brain2006-11-101-4/+4
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5679 e03df62e-2008-0410-955e-edbf42e46eb7
* Insert massive change here.Gravatar brain2006-10-191-1/+1
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5504 e03df62e-2008-0410-955e-edbf42e46eb7
* Now with binary versioning goodnessGravatar brain2006-10-011-1/+1
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5366 e03df62e-2008-0410-955e-edbf42e46eb7
* CGIResolver isnt being passed a serverinstance to its constructor, so its ↵Gravatar brain2006-09-291-3/+3
| | | | | | trying to use a global copy which we dont really have (e.g. invalid pointer) git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5358 e03df62e-2008-0410-955e-edbf42e46eb7
* AnnotationsGravatar brain2006-09-151-3/+4
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5254 e03df62e-2008-0410-955e-edbf42e46eb7
* EventHandler class, an abstraction for raw i/oGravatar brain2006-08-181-5/+5
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4941 e03df62e-2008-0410-955e-edbf42e46eb7
* Just to mess with om's head, remove helperfuncs.h from everywhereGravatar brain2006-08-111-1/+1
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4900 e03df62e-2008-0410-955e-edbf42e46eb7
* Change to using Instance->Log (InspIRCd::Log) rather than log() macroGravatar brain2006-08-111-9/+9
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4880 e03df62e-2008-0410-955e-edbf42e46eb7