summaryrefslogtreecommitdiff
path: root/src/modules/m_cgiirc.cpp
AgeCommit message (Collapse)Author
2014-07-25Merge insp20Attila Molnar
2014-05-01m_cgiirc Call User::InvalidateCache() after changing host and dhost in ↵Attila Molnar
OnCheckReady()
2014-04-09Fix m_cgiirc to set the user's host straight away when using WEBIRC.md_5
2014-03-17Rewrite clone counting to use one map instead of twoAttila Molnar
2014-03-08Make the maximum hostname length configurable in the config.Peter Powell
2014-02-23Moving CGIIRC to a new snomask (w)Googolplexed
2014-01-23Remove whitespace and minor style changesAttila Molnar
2013-12-18Clean up CoreExceptionAttila Molnar
- Remove default constructor - Replace virtual functions returning C strings with functions returning const std::string refs
2013-09-08Automatically register ServiceProviders created by modulesattilamolnar
2013-08-30Replace OnRehash() with ReadConfig() that is called on boot, on module load ↵attilamolnar
and on rehash This eliminates the need for calling OnRehash() in init()
2013-08-10Rename <connect:nouserdns> to <connect:resolvehostnames>.Peter Powell
This name is more descriptive and avoids a double negative which could make the name of this setting unclear to non-native speakers.
2013-08-04Automatically attach modules to eventsattilamolnar
2013-08-04Modify the log message to contain the log type.Peter Powell
2013-07-04Remove $Core and $Mod* comments apart from $ModDep.Peter Powell
2013-06-24Prevent m_cgiirc from blocking indefinitely, resulting in registration ↵ElementalAlchemist
timeouts on e.g. Mibbit when webirc is not used
2013-05-19Fix spacing in calls to LogManager::Log.Peter Powell
2013-05-15Tidy up keywords on module methods.Peter Powell
- Remove virtual keyword from a ton of methods which don't need it. - Add override keyword to a ton of methods which do need it.
2013-04-27Move <performance:nouserdns> to <connect:nouserdns>.Peter Powell
2013-04-26Modularize DNSAdam
The DNS modules are temporarily in commands/ so they're loaded automatically Thanks to Attila for helping with much of this.
2013-04-12Add LOG_ prefix to the log level enum values.Peter Powell
2013-04-01Move member variables from User to LocalUserattilamolnar
- idle_lastmsg - dns_done - quitting_sendq - exempt - lastping
2013-03-11Fix m_dnsbl not checking cgiirc users when the cgiirc address is elinedattilamolnar
2012-12-02Register all commands, modes and extensions using AddService()attilamolnar
AddService() throws an exception if an item cannot be registered, modules no longer need to worry about AddMode() etc. failing
2012-12-02Dynamically determine the size of the eventlist[] passed to Attach()attilamolnar
m_sqlauth was attached to I_OnUserDisconnect but didn't provide a handler for it, remove
2012-11-29m_cgiirc Fix wrong announcement when the host in WEBIRC is too longattilamolnar
2012-11-29m_cgiirc Don't apply resolved host or send notifications when the user is ↵attilamolnar
quitting (matched a line)
2012-11-29m_cgiirc Don't resolve IPs when <performance:nouserdns> is trueattilamolnar
2012-11-29m_cgiirc De-duplicate code, recheck elines after ip/host changesattilamolnar
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()
2012-11-29m_cgiirc Remove dead code, warn when a <cgihost> block has an invalid type ↵attilamolnar
value, misc. cleanup
2012-10-12m_cgiirc, m_dnsbl Remove unnecessary includesattilamolnar
2012-09-13m_cgiirc Take actions after a successful WEBIRC in the OnCheckReady hook, ↵attilamolnar
stop using OnUserConnect
2012-09-13m_cgiirc Register the "waiting" extensionattilamolnar
2012-04-19Replace copyright headers with headers granting specific authors copyrightRobby-
2010-09-03Fix resolved hostname not being changed when WEBIRC passes a hostname longer ↵Daniel De Graaf
than 64 characters
2010-08-11Fix NotifyOpers setting not being applied correctlyDaniel De Graaf
2010-03-06We refer to modules using .so not .cppdanieldg
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@12599 e03df62e-2008-0410-955e-edbf42e46eb7
2010-03-05Set m_cgiirc to run its OnUserConnect before m_conn_umodesdanieldg
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@12597 e03df62e-2008-0410-955e-edbf42e46eb7
2010-03-05Make CGI:IRC host resolution block registration, fixes bug #1danieldg
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@12596 e03df62e-2008-0410-955e-edbf42e46eb7
2010-02-12Remove possible references to deleted User objects due to DNS lookupsdanieldg
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@12445 e03df62e-2008-0410-955e-edbf42e46eb7
2010-02-03Don't use hosts more than 64 characters long from CGI:IRCdanieldg
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@12368 e03df62e-2008-0410-955e-edbf42e46eb7
2010-01-30Forward-port of r12333, clone-counting fix for m_cgiircdanieldg
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@12335 e03df62e-2008-0410-955e-edbf42e46eb7
2010-01-11...because every now and again, i have to do a massive commit.brain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@12248 e03df62e-2008-0410-955e-edbf42e46eb7
2010-01-05Show channel listmodes (+beIg) in /CHECK outputdanieldg
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@12243 e03df62e-2008-0410-955e-edbf42e46eb7
2009-11-06Move StreamSocket inheritance off of Userdanieldg
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@12047 e03df62e-2008-0410-955e-edbf42e46eb7
2009-11-01Fix CGI:IRC user class not being changed based on their real IP when it is ↵danieldg
changed git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11988 e03df62e-2008-0410-955e-edbf42e46eb7
2009-10-25Fixes found by removing User inheritance from StreamSocketdanieldg
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11975 e03df62e-2008-0410-955e-edbf42e46eb7
2009-10-21Move all local-only fields to LocalUserdanieldg
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11944 e03df62e-2008-0410-955e-edbf42e46eb7
2009-10-21Change module API to use LocalUser* where correctdanieldg
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11943 e03df62e-2008-0410-955e-edbf42e46eb7
2009-10-17Make classbase and refcountbase uncopyable; expand comments on their ↵danieldg
indended uses git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11888 e03df62e-2008-0410-955e-edbf42e46eb7
2009-10-17Remove dummy API_VERSION from Version constructordanieldg
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11887 e03df62e-2008-0410-955e-edbf42e46eb7