summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2014-06-07socketengine_epoll Pass a dummy value to epoll_create() that does not depend ↵Attila Molnar
on GetMaxFds() From man epoll: Since Linux 2.6.8, the size argument is unused, but must be greater than zero. (The kernel dynamically sizes the required data structures without needing this initial hint.)
2014-06-07Relax fd bounds checkingAttila Molnar
We can cope with fds greater than SocketEngine::GetMaxFds() since 3752b3f59d5216d7dc6221a361efc76b9ad2273d
2014-06-07m_channames Remove temporary vector from ValidateChans()Attila Molnar
2014-06-07m_channames Call ValidateChans() from cull() on unloadAttila Molnar
This ensures that if ValidateChans() removes everyone from a channel the channel is added to the cull list at the right time, that is, before the destruction of objects begin. The core IsChannel() is less strict than us regardless of our configuration (for now) but nevertheless this is the correct behavior.
2014-05-28m_ident Close the ident socket when the object is culled instead of using hooksAttila Molnar
2014-05-28m_ident Make use of the min parameter of ConfigTag::getInt()Attila Molnar
2014-05-28m_ident: Add an option to allow idents of users to still be prefixed with a ↵Robby-
'~' for connect classes which have disabled ident lookups through the <connect:useident> setting. Fixes #683. Some changes by @attilamolnar, original PR #684
2014-05-26m_ssl_gnutls Don't include cap.hAttila Molnar
The tls cap is handled by m_starttls
2014-05-26Switch to std::string::compare() from substr() in a couple of placesAttila Molnar
2014-05-23Prefix all definitions in config.h to avoid potential collisions.Peter Powell
2014-05-16m_passforward: Don't forward password if the connect block required a ↵Googolplexed
password to connect
2014-05-12Update core_stats.cppWindowsUser
Make this consistent with other "Permission Denied" errors.
2014-05-10m_ldap: time out LDAP queriesAdam
Set LDAP_OPT_NETWORK_TIMEOUT to 0 in m_ldap to prevent the asynchronous library calls from blocking Fix memory leak of pending queries when m_ldap is unloaded
2014-05-06Remove needless checks from Invitation::Find()Attila Molnar
2014-04-26Remove redundant IS_LOCAL() checks discovered by static assertsAttila Molnar
2014-04-20Change the OnNamesListItem() hook to return ModResultAttila Molnar
Return MOD_RES_DENY to exclude the user from the NAMES list
2014-04-16m_spanningtree Add ServerCommand::ExtractTS() to convert string to raw TSAttila Molnar
Throws a ProtocolException if the input is invalid
2014-04-16m_spanningtree Throw an exception on protocol violations instead of ↵Attila Molnar
returning CMD_INVALID Catch CoreExceptions, log and close the link in OnDataReady()
2014-04-14Remove WALLCHOPS and WALLVOICES ISUPPORT tokensAttila Molnar
These tokens have been deprecated in favour of STATUSMSG for a long time
2014-04-14core_lusers Don't capitalize "local users" and "global users"Attila Molnar
2014-04-14m_sajoin, m_sapart Support a comma separated list of channelsAttila Molnar
Issue #818
2014-04-14m_sajoin Abort and report if the target user is already on the channelAttila Molnar
Fixes issue #820 reported by @UselessOper
2014-04-14m_spanningtree Fix routing of unicast messagesAttila Molnar
2014-04-11Kill <channels> in favour of <connect:maxchans> and <oper:maxchans>.Peter Powell
Remove channels/high-join-limit privilege
2014-04-11Implement support for numeric character references.Peter Powell
2014-04-11Clean up a bunch of legacy code in the Poll socketengine.Peter Powell
2014-04-11m_filter Allow exemption of messages sent to nicks specified in ↵Attila Molnar
<exemptfromfilter> tags Issue #655
2014-04-11m_filter Rename config key used in exemptfromfilter from "channel" to ↵Attila Molnar
"target", but keep compatibility
2014-04-11m_filter Rename exemptfromfilter field to exemptedchans, use std::set::count()Attila Molnar
2014-04-11m_filter Use case insensitive compare for exempted targets, add typedef for ↵Attila Molnar
the set
2014-04-09m_services_account Remove now needless workaround added to 2.0 to display ↵Attila Molnar
the correct host when cgiirc users log in using SASL
2014-04-09Fix m_cgiirc to set the user's host straight away when using WEBIRC.md_5
2014-04-09Avoid double Membership lookup in Channel::UserList()Attila Molnar
The user is always inside if UserList() is called from ForceJoin() and the HasUser() result obtained in the /NAMES handler can be reused
2014-04-09Move checks determining whether a user is allowed to view the NAMES list of ↵Attila Molnar
a channel from Channel::UserList() to cmd_names
2014-04-09Eliminate usage of has_one in Channel::UserList()Attila Molnar
2014-04-08m_blockcaps Get rid of needless cast, use unsigned typesAttila Molnar
2014-04-08m_blockcaps Simplify CTCP ACTION (/me) detectionAttila Molnar
2014-04-08m_spanningtree Don't rely on "m_sha256.so" being loaded, use any ↵Attila Molnar
"hash/sha256" service provider
2014-04-08m_spanningtree Remove the (now) undocumented disablehmac config optionAttila Molnar
2014-04-07Merge insp20Attila Molnar
2014-04-06Release 2.0.16Attila Molnar
2014-04-06Fix IPv6 address handling in 6aaf7047297b739377e7d509cb914f32447fb281Attila Molnar
2014-04-04Fix snotice about disabled command usage being sent to the wrong snomaskAttila Molnar
2014-04-04Add REG_ALL checks to treat unregistered users as nonexistent in more casesAttila Molnar
2014-04-03m_override Deduplicate codeAttila Molnar
2014-04-02Remove unused User::WriteCommonExcept()Attila Molnar
WriteCommonRaw(msg, false) has similiar functionality with a std::string parameter
2014-04-02Move User::SendAll() into core_privmsgAttila Molnar
This functionality is only used by the PRIVMSG and NOTICE handlers
2014-04-02Remove User::WriteTo() functions; use User::WriteFrom() insteadAttila Molnar
The removed functions were rarely used and all they did was to call User::WriteFrom() with swapped arguments. On call sites, WriteTo() hardly offers any readability improvement over WriteFrom().
2014-03-31Check if Membership::GetPrefixChar() returns 0 before appending it to a stringAttila Molnar
Spotted by @barosl
2014-03-28Convert the global list of dynamic reference pointers to an intrusively ↵Attila Molnar
linked list