summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2012-09-30Make ConfigReader::GetSID() return a const reference to a string instead of ↵attilamolnar
a string
2012-09-30Fix more undefined behavior caused by referencing the returned buffer by ↵attilamolnar
std::string::c_str() when the object is temporary See 83c7cc45daf6fb1f8c36f15297a4657e45a34e88
2012-09-23m_httpd Accept POST requests only when the value for Content-Length is ↵attilamolnar
greater than zero
2012-09-23Fix undefined behavior caused by referencing the returned buffer by ↵attilamolnar
std::string::c_str() when the object is temporary Thanks to @ChrisTX for pointing this out Fixes #257 reported by @helloall
2012-09-22m_regex_stdlib: A regex provider for the C++11 container std::regexChrisTX
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.
2012-09-13m_blockamsg, m_sslinfo Don't convert the command name to irc::string in ↵attilamolnar
OnPreCommand() See 44e89aafb69fb266bdf780d12a31947bfff4e330
2012-09-13m_shun Convert enabled commands to uppercase so they match correctly even if ↵attilamolnar
they're lowercase in the config
2012-09-13Fixed crash in m_mysql if a module is unloaded while executingAdam
a query and there is only one query in the queue to be executed.
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-09-13m_dnsbl Display <unknown> as the user's nick when annoucing the dnsbl result ↵attilamolnar
and the user has an empty nick
2012-09-13m_dnsbl Switch to OnUserSetIP hookattilamolnar
2012-09-13Call OnUserSetIP() whenever the IP of a local user changes, set ↵attilamolnar
ident,host,dhost in LocalUser constructor
2012-09-13New OnUserSetIP() hookattilamolnar
2012-09-13m_knock Add support for sending a 710 numeric when a KNOCK succeeds, add a ↵attilamolnar
config option to choose between behaviors Fixes #287 reported by @ElementalAlchemist
2012-09-13Merge pull request #301 from Adam-/insp20+bindrehashAttila Molnar
Fix bug #291 - fix rehashing bind tags not changing them between servers/clients and ssl/nonssl
2012-09-13configreader: Replace ConfValue here with a ConfigTagList enumeration, as it ↵ChrisTX
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
2012-09-13Set errno to EINPROGRESS on Windows when the connect() call does not ↵attilamolnar
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
2012-09-13Don't allow banned users to NOTICE a channel when ↵attilamolnar
security:restrictbannedusers is on Fixes #297 reported by @killerrabbit
2012-09-12Fix bug #291 - fix rehashing bind tags not changing them between ↵Adam
servers/clients and ssl/nonssl
2012-09-06Avoid global namespace pollution.Peter Powell
2012-09-02m_svshold Broadcast SVSHOLD commands sent by servers without ADDLINEattilamolnar
Fixes #293 reported by @DrRenX
2012-08-25Remove unnecessary assignment in BanCacheManager::RemoveEntriesattilamolnar
2012-08-25Remove unnecessary cleanup in XLineManager destructorattilamolnar
2012-08-25Remove unnecessary string copy in XLineManager::InvokeStatsattilamolnar
2012-08-25m_knock Don't concatenate the knock reason, the command parser does it for usattilamolnar
2012-08-25Add a config option to enable/disable the welcome notice sent to clients ↵attilamolnar
after successful registration Fixes #284 reported by @hoggeh
2012-08-20listensocket: Fix the two aliasing warningsChrisTX
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
2012-08-13Merge pull request #251 from Shawn-Smith/insp20+extbanURobin Burchell
[2.0] Add ExtBan U to match only unregistered users
2012-08-10m_spanningtree Add missing aposthrope to connection failed server noticeattilamolnar
2012-08-10m_spanningtree: Resolve issue #250ChrisTX
2012-08-08m_spanningtree Specify the uuid of the remote user when sending server ↵attilamolnar
NOTICE/PRIVMSG to him
2012-08-08m_spanningtree Handle ? wildcard as well when processing an incoming ENCAPattilamolnar
2012-08-08m_messageflood Unset +f when the module is unloadedattilamolnar
2012-08-08m_messageflood Make code more readableattilamolnar
Remove unnecessary checks Use std::string::find() and ::substr() for finding the delimiter and splitting the parameter
2012-08-08m_messageflood Perform at most one std::map::find() per message if we aren't ↵attilamolnar
kicking the user
2012-08-08Remove sprintf from the two implementations of ModeHandler::RemoveModeattilamolnar
2012-07-27m_namesx, m_uhnames Don't convert the command name to irc::string in ↵attilamolnar
OnPreCommand() The command is converted into an uppercase string in CommandParser::ProcessCommand()
2012-07-27Don't hard code the branch version.Peter Powell
2012-07-27m_ssl_openssl Port ISUPPORT changes from m_ssl_gnutls to fix #261attilamolnar
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)
2012-07-26Updated version lines to be more descriptive and remove references to other ↵Shawn Smith
IRCds
2012-07-26m_ssl_gnutls Allow setting the priorities to use on the ciphers, key ↵attilamolnar
exchange algorithms, compression methods and macs
2012-07-26m_hostchange No reason to prioritize after m_cloakingattilamolnar
2012-07-26m_hostchange Remove string copyattilamolnar
2012-07-26m_hostchange Store host change action as an enum value instead of a string, ↵attilamolnar
stop using pointers and std::map for no reason, warn about config problems
2012-07-26m_opermotd Add support for viewing opermotd on a remote server (as advertised)attilamolnar
2012-07-26m_uninvite Notify remote users properlyattilamolnar
2012-07-26m_connflood Cleanupattilamolnar
2012-07-22Remove negative BanCache entries only when the AddLine is successful instead ↵attilamolnar
of removing them before checking anything
2012-07-21Don't hardcode conf/inspircd.conf as the config file, allow the configure ↵attilamolnar
script to override it (configure asked for the path but the ircd used the hardcoded path regardless) Fixes #264 reported by @ampt