aboutsummaryrefslogtreecommitdiff
path: root/src/modules/m_cgiirc.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Register all commands, modes and extensions using AddService()Gravatar attilamolnar2012-12-021-6/+2
| | | | AddService() throws an exception if an item cannot be registered, modules no longer need to worry about AddMode() etc. failing
* Dynamically determine the size of the eventlist[] passed to Attach()Gravatar attilamolnar2012-12-021-1/+1
| | | | m_sqlauth was attached to I_OnUserDisconnect but didn't provide a handler for it, remove
* m_cgiirc Fix wrong announcement when the host in WEBIRC is too longGravatar attilamolnar2012-11-291-2/+6
|
* m_cgiirc Don't apply resolved host or send notifications when the user is ↵Gravatar attilamolnar2012-11-291-4/+6
| | | | quitting (matched a line)
* m_cgiirc Don't resolve IPs when <performance:nouserdns> is trueGravatar attilamolnar2012-11-291-2/+2
|
* m_cgiirc De-duplicate code, recheck elines after ip/host changesGravatar attilamolnar2012-11-291-69/+64
| | | | | | | | | Fixes #350 reported by @MistrX New functions: - RecheckElineAndClass() - ChangeIP() - decreases clone counts for a user, calls SetUserIP, increases clone counts after the new ip is applied - HandleIdentOrPass() - common code extracted from CheckIdent() and CheckPass()
* m_cgiirc Remove dead code, warn when a <cgihost> block has an invalid type ↵Gravatar attilamolnar2012-11-291-54/+15
| | | | value, misc. cleanup
* m_cgiirc, m_dnsbl Remove unnecessary includesGravatar attilamolnar2012-10-121-6/+0
|
* m_cgiirc Take actions after a successful WEBIRC in the OnCheckReady hook, ↵Gravatar attilamolnar2012-09-131-32/+28
| | | | stop using OnUserConnect
* m_cgiirc Register the "waiting" extensionGravatar attilamolnar2012-09-131-0/+1
|
* Replace copyright headers with headers granting specific authors copyrightGravatar Robby-2012-04-191-8/+20
|
* Fix resolved hostname not being changed when WEBIRC passes a hostname longer ↵Gravatar Daniel De Graaf2010-09-031-17/+15
| | | | than 64 characters
* Fix NotifyOpers setting not being applied correctlyGravatar Daniel De Graaf2010-08-111-10/+9
|
* We refer to modules using .so not .cppGravatar danieldg2010-03-061-1/+1
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@12599 e03df62e-2008-0410-955e-edbf42e46eb7
* Set m_cgiirc to run its OnUserConnect before m_conn_umodesGravatar danieldg2010-03-051-0/+2
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@12597 e03df62e-2008-0410-955e-edbf42e46eb7
* Make CGI:IRC host resolution block registration, fixes bug #1Gravatar danieldg2010-03-051-22/+43
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@12596 e03df62e-2008-0410-955e-edbf42e46eb7
* Remove possible references to deleted User objects due to DNS lookupsGravatar danieldg2010-02-121-8/+10
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@12445 e03df62e-2008-0410-955e-edbf42e46eb7
* Don't use hosts more than 64 characters long from CGI:IRCGravatar danieldg2010-02-031-9/+11
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@12368 e03df62e-2008-0410-955e-edbf42e46eb7
* Forward-port of r12333, clone-counting fix for m_cgiircGravatar danieldg2010-01-301-23/+9
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@12335 e03df62e-2008-0410-955e-edbf42e46eb7
* ...because every now and again, i have to do a massive commit.Gravatar brain2010-01-111-1/+1
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@12248 e03df62e-2008-0410-955e-edbf42e46eb7
* Show channel listmodes (+beIg) in /CHECK outputGravatar danieldg2010-01-051-2/+2
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@12243 e03df62e-2008-0410-955e-edbf42e46eb7
* Move StreamSocket inheritance off of UserGravatar danieldg2009-11-061-2/+2
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@12047 e03df62e-2008-0410-955e-edbf42e46eb7
* Fix CGI:IRC user class not being changed based on their real IP when it is ↵Gravatar danieldg2009-11-011-0/+3
| | | | | | changed git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11988 e03df62e-2008-0410-955e-edbf42e46eb7
* Fixes found by removing User inheritance from StreamSocketGravatar danieldg2009-10-251-2/+2
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11975 e03df62e-2008-0410-955e-edbf42e46eb7
* Move all local-only fields to LocalUserGravatar danieldg2009-10-211-2/+2
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11944 e03df62e-2008-0410-955e-edbf42e46eb7
* Change module API to use LocalUser* where correctGravatar danieldg2009-10-211-2/+2
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11943 e03df62e-2008-0410-955e-edbf42e46eb7
* Make classbase and refcountbase uncopyable; expand comments on their ↵Gravatar danieldg2009-10-171-1/+1
| | | | | | indended uses git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11888 e03df62e-2008-0410-955e-edbf42e46eb7
* Remove dummy API_VERSION from Version constructorGravatar danieldg2009-10-171-1/+1
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11887 e03df62e-2008-0410-955e-edbf42e46eb7
* Move static map of extensions into ServerInstance, add const-correctnessGravatar danieldg2009-10-141-4/+4
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11873 e03df62e-2008-0410-955e-edbf42e46eb7
* Update Event and Request APIsGravatar danieldg2009-10-081-2/+2
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11808 e03df62e-2008-0410-955e-edbf42e46eb7
* Remove InspIRCd* parameters and fieldsGravatar danieldg2009-09-261-6/+6
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11763 e03df62e-2008-0410-955e-edbf42e46eb7
* Describe module purpose in /MODULES outputGravatar danieldg2009-09-221-1/+1
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11757 e03df62e-2008-0410-955e-edbf42e46eb7
* Clean up Command constructorGravatar danieldg2009-09-131-3/+4
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11707 e03df62e-2008-0410-955e-edbf42e46eb7
* Change Extensible to use strongly typed entriesGravatar danieldg2009-09-131-67/+30
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11696 e03df62e-2008-0410-955e-edbf42e46eb7
* Remove CMD_LOCALONLY, enforce use of GetRouting for routed commandsGravatar danieldg2009-09-031-1/+1
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11671 e03df62e-2008-0410-955e-edbf42e46eb7
* ModResult conversion: Change return type of all module functionsGravatar danieldg2009-09-021-3/+3
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11634 e03df62e-2008-0410-955e-edbf42e46eb7
* Add Module* creator to Command and ModeHandlerGravatar danieldg2009-09-021-3/+3
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11631 e03df62e-2008-0410-955e-edbf42e46eb7
* MetaData reworkGravatar danieldg2009-09-021-19/+12
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11607 e03df62e-2008-0410-955e-edbf42e46eb7
* Change allocation of commands/modesGravatar danieldg2009-09-021-17/+8
| | | | | | | | | | API change: Commands passed to AddCommand are no longer deleted automatically This removes lots of needless heap allocation and fixes a few memory leaks by allocating commands and modes as part of the Module rather than creating them separately in the module constructor. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11592 e03df62e-2008-0410-955e-edbf42e46eb7
* Remove more text<->binary IP conversions, making code more IPv4/IPv6 independentGravatar danieldg2009-09-011-40/+15
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11578 e03df62e-2008-0410-955e-edbf42e46eb7
* Rename User::GetPort to GetServerPort to clarify its purposeGravatar danieldg2009-09-011-3/+3
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11577 e03df62e-2008-0410-955e-edbf42e46eb7
* Change IP address storage in User to use more IPv4/IPv6 common codeGravatar danieldg2009-09-011-6/+6
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11575 e03df62e-2008-0410-955e-edbf42e46eb7
* cgiirc: Pass hosts to WEBIRC command on rehash. No fucking wonder this never ↵Gravatar w00t2009-08-161-3/+9
| | | | | | worked except on module load. _ARGH_. Thanks to Jeremy for his help in tracking this down. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11528 e03df62e-2008-0410-955e-edbf42e46eb7
* Roll back mysterious DNS change from 2007 which broke multiple-answerGravatar w00t2009-06-301-4/+1
| | | | | | | DNS requests (CNAME, A). It looks like this was to be related to bitmask dnsbl support, but it would never have worked anyway (resultnum was always 0..). git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11419 e03df62e-2008-0410-955e-edbf42e46eb7
* OnRehash changes: split to multiple hooks to clarify use and prevent ↵Gravatar danieldg2009-05-241-2/+2
| | | | | | explosion of rehashes on a /REHASH * git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11388 e03df62e-2008-0410-955e-edbf42e46eb7
* Globally route "a" snotices for more modules. Patch from Milliways.Gravatar danieldg2009-05-021-4/+4
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11352 e03df62e-2008-0410-955e-edbf42e46eb7
* Convert snomask 'A' into snomask 'a' for local announcements, add snomask ↵Gravatar w00t2009-04-161-7/+7
| | | | | | | | | 'A' for remote announcements. Make SAMODE send a snotice to 'a' and remote to 'A' - fixes bug #822, reported by Taros We really need a wrapper to use these, but, for now it's usable. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11304 e03df62e-2008-0410-955e-edbf42e46eb7
* Update all wiki links to point to the new wiki. This was done automatically ↵Gravatar psychon2009-03-151-1/+1
| | | | | | | | | with the following command, only .Makefile.inc got some indent fixups by hand. for file in $(find -type f -and -not -path '*/.svn/*' -and -not -name '*.so') ; do sed -e 's#http://www.inspircd.org/wiki#http://wiki.inspircd.org#' -e 's#http://wiki.inspircd.org/index.php/#http://wiki.inspircd.org/#' -i $file ; done git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11223 e03df62e-2008-0410-955e-edbf42e46eb7
* Remove redundant PriorityState, enum Priority does the exact same thing.Gravatar w00t2009-02-161-1/+1
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11121 e03df62e-2008-0410-955e-edbf42e46eb7
* Add a snotice when a user tries to use WEBIRC without matching any ↵Gravatar w00t2009-02-081-0/+2
| | | | | | configured blocks. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11050 e03df62e-2008-0410-955e-edbf42e46eb7