aboutsummaryrefslogtreecommitdiff
path: root/src/modules
Commit message (Collapse)AuthorAgeFilesLines
* 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-043-11/+24
| | | | | | | | | | 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.
* Check if the mask is long enough before accessing it when checking extbansGravatar attilamolnar2012-10-036-6/+6
|
* 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
|
* Fix more undefined behavior caused by referencing the returned buffer by ↵Gravatar attilamolnar2012-09-3022-52/+96
| | | | | | 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-234-5/+10
| | | | | | | 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
|
* 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
* m_svshold Broadcast SVSHOLD commands sent by servers without ADDLINEGravatar attilamolnar2012-09-021-1/+1
| | | | Fixes #293 reported by @DrRenX
* m_knock Don't concatenate the knock reason, the command parser does it for usGravatar attilamolnar2012-08-251-10/+2
|
* listensocket: Fix the two aliasing warningsGravatar ChrisTX2012-08-201-3/+5
| | | | | | | 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
* | m_spanningtree Add missing aposthrope to connection failed server noticeGravatar attilamolnar2012-08-101-1/+1
| |
* | m_spanningtree: Resolve issue #250Gravatar ChrisTX2012-08-103-2/+5
| |
* | m_spanningtree Specify the uuid of the remote user when sending server ↵Gravatar attilamolnar2012-08-081-18/+8
| | | | | | | | NOTICE/PRIVMSG to him
* | m_spanningtree Handle ? wildcard as well when processing an incoming ENCAPGravatar attilamolnar2012-08-082-2/+2
| |
* | m_messageflood Unset +f when the module is unloadedGravatar attilamolnar2012-08-081-10/+7
| |
* | m_messageflood Make code more readableGravatar attilamolnar2012-08-081-80/+29
| | | | | | | | | | Remove unnecessary checks Use std::string::find() and ::substr() for finding the delimiter and splitting the parameter
* | m_messageflood Perform at most one std::map::find() per message if we aren't ↵Gravatar attilamolnar2012-08-081-22/+4
| | | | | | | | kicking the user
* | m_namesx, m_uhnames Don't convert the command name to irc::string in ↵Gravatar attilamolnar2012-07-272-4/+2
| | | | | | | | | | | | OnPreCommand() The command is converted into an uppercase string in CommandParser::ProcessCommand()
* | m_ssl_openssl Port ISUPPORT changes from m_ssl_gnutls to fix #261Gravatar attilamolnar2012-07-271-5/+19
| | | | | | | | | | Add a config option that can be used to set the value of the SSL token in ISUPPORT (77b42efc86122d3720f85bddd85a2dc80d0baff9) Advertise only one ssl port by default in ISUPPORT (d30cdacab7100426c3773eafffd50aebf8155bba)
* | Updated version lines to be more descriptive and remove references to other ↵Gravatar Shawn Smith2012-07-264-8/+8
| | | | | | | | IRCds
* | m_ssl_gnutls Allow setting the priorities to use on the ciphers, key ↵Gravatar attilamolnar2012-07-261-1/+27
| | | | | | | | exchange algorithms, compression methods and macs
* | m_hostchange No reason to prioritize after m_cloakingGravatar attilamolnar2012-07-261-7/+0
| |
* | m_hostchange Remove string copyGravatar attilamolnar2012-07-261-7/+6
| |
* | m_hostchange Store host change action as an enum value instead of a string, ↵Gravatar attilamolnar2012-07-261-32/+44
| | | | | | | | stop using pointers and std::map for no reason, warn about config problems
* | m_opermotd Add support for viewing opermotd on a remote server (as advertised)Gravatar attilamolnar2012-07-261-37/+34
| |