aboutsummaryrefslogtreecommitdiff
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
* Release 2.0.9 v2.0.9Gravatar attilamolnar2012-10-071-1/+1
|
* m_spanningtree Fix undefined behavior caused by referencing the returned ↵Gravatar attilamolnar2012-10-071-1/+2
| | | | buffer by std::string::c_str() when the object is temporary
* New module to support server-side topic locking and server-to-server ↵Gravatar attilamolnar2012-10-061-0/+179
| | | | | | | SVSTOPIC command SVSTOPIC can either set the topic, the topic setter and the topic timestamp to the given parameters or can nuke the topic entirely on a channel (like it was never set) It is for ulines only
* m_cban, m_rline, m_shun Broadcast these commands as some services ↵Gravatar attilamolnar2012-10-043-3/+3
| | | | implementations send them (even though they shouldn't)
* Replace hardcoded paths with configurable onesGravatar ChrisTX2012-10-045-13/+26
| | | | | | | | | | This patchset aims to ease the packaging of InspIRCd for a system-wide installation scenario. Changes in detail: configure: Add the options --log-path and --data-path m_ssl_gnutls, openssl: Change the hardcoded "conf/" to the existent CONFIG_PATH macro m_xline_db: Make the location of xline.db configurable. It will use --data-path as default value, but this can be changed using the configuration files.
* Fix (d)host starting with ':' for some IPv6 clientsGravatar attilamolnar2012-10-031-1/+7
|
* Check if the mask is long enough before accessing it when checking extbansGravatar attilamolnar2012-10-037-7/+7
|
* m_services_account Fix possible recursion when checking 'U' extbansGravatar attilamolnar2012-10-031-1/+9
|
* m_spanningtree Fill a parameterlist in OnAddLine/OnDelLineGravatar attilamolnar2012-10-031-7/+8
|
* m_spanningtree Simplify OnMode and OnSetAway handlersGravatar attilamolnar2012-10-031-13/+5
|
* m_spanningtree Remove empty RedoConfig()Gravatar attilamolnar2012-10-032-5/+0
|
* m_spanningtree Utils: Remove unused functionsGravatar attilamolnar2012-10-032-31/+0
|
* m_spanningtree OPERTYPE handler: Return when finished processing instead of ↵Gravatar attilamolnar2012-10-031-8/+3
| | | | changing execution path with a flag
* m_spanningtree Remote WHOIS handler: Find target with FindNickOnly (don't ↵Gravatar attilamolnar2012-10-031-1/+1
| | | | accept uids, like in cmd_whois)
* m_spanningtree Netburst: Remove unused parameters and variablesGravatar attilamolnar2012-10-032-15/+15
|
* m_spanningtree Netburst: Prefix SERVER and VERSION lines with SIDs instead ↵Gravatar attilamolnar2012-10-031-4/+3
| | | | of server names
* m_spanningtree Netburst: Remove unnecessary variables from DoBurst()Gravatar attilamolnar2012-10-021-8/+5
|
* m_spanningtree Use iterators in CAPAB handler and when generating reply to ↵Gravatar attilamolnar2012-10-023-13/+12
| | | | spanningtree related /stats, use std::find() in TreeServer::DelChild()
* m_spanningtree Only allow uuids in SVSJOIN, METADATA and OPERQUITGravatar attilamolnar2012-10-024-5/+5
|
* m_spanningtree Return const references from several TreeServer getter functionsGravatar attilamolnar2012-09-302-6/+6
|
* Make ConfigReader::GetSID() return a const reference to a string instead of ↵Gravatar attilamolnar2012-09-301-1/+1
| | | | a string
* Fix more undefined behavior caused by referencing the returned buffer by ↵Gravatar attilamolnar2012-09-3035-66/+128
| | | | | | std::string::c_str() when the object is temporary See 83c7cc45daf6fb1f8c36f15297a4657e45a34e88
* m_httpd Accept POST requests only when the value for Content-Length is ↵Gravatar attilamolnar2012-09-231-1/+1
| | | | greater than zero
* Fix undefined behavior caused by referencing the returned buffer by ↵Gravatar attilamolnar2012-09-236-11/+21
| | | | | | | std::string::c_str() when the object is temporary Thanks to @ChrisTX for pointing this out Fixes #257 reported by @helloall
* m_regex_stdlib: A regex provider for the C++11 container std::regexGravatar ChrisTX2012-09-221-0/+112
| | | | | | For it to work you need a standards compliant implementation as for instance Visual C++ 2010 and 2012 deliver. GCC's libstdc++ does not implement this class yet.
* m_blockamsg, m_sslinfo Don't convert the command name to irc::string in ↵Gravatar attilamolnar2012-09-132-8/+2
| | | | | | OnPreCommand() See 44e89aafb69fb266bdf780d12a31947bfff4e330
* m_shun Convert enabled commands to uppercase so they match correctly even if ↵Gravatar attilamolnar2012-09-131-0/+1
| | | | they're lowercase in the config
* Fixed crash in m_mysql if a module is unloaded while executingGravatar Adam2012-09-131-1/+1
| | | | a query and there is only one query in the queue to be executed.
* 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
|
* m_dnsbl Display <unknown> as the user's nick when annoucing the dnsbl result ↵Gravatar attilamolnar2012-09-131-1/+1
| | | | and the user has an empty nick
* m_dnsbl Switch to OnUserSetIP hookGravatar attilamolnar2012-09-131-2/+2
|
* Call OnUserSetIP() whenever the IP of a local user changes, set ↵Gravatar attilamolnar2012-09-132-8/+40
| | | | ident,host,dhost in LocalUser constructor
* New OnUserSetIP() hookGravatar attilamolnar2012-09-131-0/+1
|
* m_knock Add support for sending a 710 numeric when a KNOCK succeeds, add a ↵Gravatar attilamolnar2012-09-131-3/+29
| | | | | | config option to choose between behaviors Fixes #287 reported by @ElementalAlchemist
* Merge pull request #301 from Adam-/insp20+bindrehashGravatar Attila Molnar2012-09-131-0/+1
|\ | | | | Fix bug #291 - fix rehashing bind tags not changing them between servers/clients and ssl/nonssl
| * Fix bug #291 - fix rehashing bind tags not changing them between ↵Gravatar Adam2012-09-121-0/+1
| | | | | | | | servers/clients and ssl/nonssl
* | configreader: Replace ConfValue here with a ConfigTagList enumeration, as it ↵Gravatar ChrisTX2012-09-131-4/+8
| | | | | | | | | | | | | | | | isn't guaranteed that bind or link tags are unique which causes Issue #270 Original commit edited by @attilamolnar - fixed wrong line being displayed in generated messages - removed redundant ServerInstance->Config before ConfTags
* | Set errno to EINPROGRESS on Windows when the connect() call does not ↵Gravatar attilamolnar2012-09-131-1/+6
| | | | | | | | | | | | | | complete immediately, to simulate unix behavior This makes code that checks errno to determine whether connect() has succeeded or not work properly on Windows Fixes #298 reported by @butaman
* | Don't allow banned users to NOTICE a channel when ↵Gravatar attilamolnar2012-09-131-0/+9
|/ | | | | | security:restrictbannedusers is on Fixes #297 reported by @killerrabbit
* Avoid global namespace pollution.Gravatar Peter Powell2012-09-061-55/+53
|
* m_svshold Broadcast SVSHOLD commands sent by servers without ADDLINEGravatar attilamolnar2012-09-021-1/+1
| | | | Fixes #293 reported by @DrRenX
* Remove unnecessary assignment in BanCacheManager::RemoveEntriesGravatar attilamolnar2012-08-251-2/+0
|
* Remove unnecessary cleanup in XLineManager destructorGravatar attilamolnar2012-08-251-5/+0
|
* Remove unnecessary string copy in XLineManager::InvokeStatsGravatar attilamolnar2012-08-251-4/+2
|
* m_knock Don't concatenate the knock reason, the command parser does it for usGravatar attilamolnar2012-08-251-10/+2
|
* Add a config option to enable/disable the welcome notice sent to clients ↵Gravatar attilamolnar2012-08-252-1/+3
| | | | | | after successful registration Fixes #284 reported by @hoggeh
* listensocket: Fix the two aliasing warningsGravatar ChrisTX2012-08-202-7/+7
| | | | | | | m_ssl_gnutls: Fix three warnings: 1. libgcrypt will emit a warning to stdout during runtime that it has not been properly initialized 2. Resolve a warning about invalid narrowing inside a { } block. This is not valid as of C++11. 3. Resolve a warning about a wrong format specifier being used
* Merge pull request #251 from Shawn-Smith/insp20+extbanUGravatar Robin Burchell2012-08-131-4/+24
|\ | | | | [2.0] Add ExtBan U to match only unregistered users
| * Added ExtBan U to match only Unregistered usersGravatar Shawn Smith2012-07-071-4/+24
| | | | | | | | Enhancement requested in Issue #247