]> git.netwichtig.de Git - user/henk/code/inspircd.git/log
user/henk/code/inspircd.git
9 years agoMerge insp20
Attila Molnar [Mon, 27 Oct 2014 14:26:20 +0000 (15:26 +0100)]
Merge insp20

9 years agom_ssl_openssl Store a pointer to the OpenSSLIOHook object in SSL objects
Attila Molnar [Mon, 27 Oct 2014 13:40:02 +0000 (14:40 +0100)]
m_ssl_openssl Store a pointer to the OpenSSLIOHook object in SSL objects

9 years agoRelease v2.0.18
Attila Molnar [Sun, 26 Oct 2014 17:05:40 +0000 (18:05 +0100)]
Release v2.0.18

9 years agoRemove some dead code found by Coverity
Attila Molnar [Sun, 26 Oct 2014 17:01:24 +0000 (18:01 +0100)]
Remove some dead code found by Coverity

9 years agoMerge pull request #944 from SaberUK/insp20+gnutls-rnd
Attila Molnar [Sat, 25 Oct 2014 01:58:49 +0000 (03:58 +0200)]
Merge pull request #944 from SaberUK/insp20+gnutls-rnd

[2.0] Use gnutls_rnd instead of gcry_randomize on newer GnuTLS versions.

9 years agoUse gnutls_rnd instead of gcry_randomize on newer GnuTLS versions.
Peter Powell [Mon, 25 Aug 2014 12:04:17 +0000 (13:04 +0100)]
Use gnutls_rnd instead of gcry_randomize on newer GnuTLS versions.

This is a modified version of 690c372. Fixes #905.

9 years agoMerge pull request #940 from SaberUK/insp20+fix-makefile
Attila Molnar [Fri, 24 Oct 2014 23:16:02 +0000 (01:16 +0200)]
Merge pull request #940 from SaberUK/insp20+fix-makefile

[2.0] Fix some small bugs in the makefile template.

9 years agoUse clang++ on FreeBSD 10 instead of g++.
Peter Powell [Tue, 21 Oct 2014 21:05:51 +0000 (22:05 +0100)]
Use clang++ on FreeBSD 10 instead of g++.

9 years agoFix some small bugs in the makefile template.
Peter Powell [Tue, 21 Oct 2014 08:37:50 +0000 (09:37 +0100)]
Fix some small bugs in the makefile template.

- GCC in C++ mode should be called g++ not gcc.
- ICC in C++ mode should be called icpc not icc.

9 years agom_delaymsg Add option to disallow NOTICEs too
Attila Molnar [Thu, 23 Oct 2014 15:59:44 +0000 (17:59 +0200)]
m_delaymsg Add option to disallow NOTICEs too

9 years agoFix m_banredirect causing bans added for hosts being rewritten as nicks
Adam [Mon, 20 Oct 2014 19:14:54 +0000 (15:14 -0400)]
Fix m_banredirect causing bans added for hosts being rewritten as nicks

9 years agoFail AAAA DNS queries if inet_ntop() fails
Attila Molnar [Wed, 22 Oct 2014 17:27:32 +0000 (19:27 +0200)]
Fail AAAA DNS queries if inet_ntop() fails

9 years agoCheck the return value of getnameinfo() on Windows in insp_inet_ntop() and return...
Attila Molnar [Wed, 22 Oct 2014 17:21:04 +0000 (19:21 +0200)]
Check the return value of getnameinfo() on Windows in insp_inet_ntop() and return NULL if it fails

9 years agoSet the parameter of -b to the banmask actually removed
Attila Molnar [Tue, 21 Oct 2014 22:25:05 +0000 (00:25 +0200)]
Set the parameter of -b to the banmask actually removed

This is needed because of the case insensitive match

9 years agom_ssl_openssl Add compile time option that allows disabling renegotiations
Attila Molnar [Fri, 17 Oct 2014 16:46:47 +0000 (18:46 +0200)]
m_ssl_openssl Add compile time option that allows disabling renegotiations

9 years agom_ssl_openssl Add compile time option to enable ECDH
Attila Molnar [Wed, 15 Oct 2014 16:27:20 +0000 (18:27 +0200)]
m_ssl_openssl Add compile time option to enable ECDH

9 years agom_ssl_gnutls Add compile time option for allowing sha256 certificate fingerprints
Attila Molnar [Mon, 20 Oct 2014 18:48:23 +0000 (20:48 +0200)]
m_ssl_gnutls Add compile time option for allowing sha256 certificate fingerprints

9 years agoUpdate <nationalchars> tag documentation
Attila Molnar [Mon, 20 Oct 2014 18:42:17 +0000 (20:42 +0200)]
Update <nationalchars> tag documentation

9 years agoFix watch away numerics, #937
Adam [Sat, 18 Oct 2014 18:28:50 +0000 (14:28 -0400)]
Fix watch away numerics, #937

9 years agom_delayjoin Only send JOIN on mode change if the mode being changed is a prefix mode
Attila Molnar [Fri, 17 Oct 2014 13:40:01 +0000 (15:40 +0200)]
m_delayjoin Only send JOIN on mode change if the mode being changed is a prefix mode

9 years agoInitialize all fields of issl_session on module load in SSL modules
Attila Molnar [Thu, 16 Oct 2014 19:18:29 +0000 (21:18 +0200)]
Initialize all fields of issl_session on module load in SSL modules

9 years agoAdd interface to SSL modules that allows other modules to obtain the raw SSL session...
Attila Molnar [Thu, 16 Oct 2014 19:15:31 +0000 (21:15 +0200)]
Add interface to SSL modules that allows other modules to obtain the raw SSL session of a socket

9 years agom_ssl_gnutls Refcount GnuTLS objects, free them when they are no longer in use instea...
Attila Molnar [Thu, 16 Oct 2014 19:07:25 +0000 (21:07 +0200)]
m_ssl_gnutls Refcount GnuTLS objects, free them when they are no longer in use instead of at /rehash ssl time

9 years agom_ssl_openssl Fix debug message
Attila Molnar [Wed, 15 Oct 2014 18:16:05 +0000 (20:16 +0200)]
m_ssl_openssl Fix debug message

9 years agom_ssl_openssl Reset data_to_write for new sessions
Attila Molnar [Wed, 15 Oct 2014 18:13:00 +0000 (20:13 +0200)]
m_ssl_openssl Reset data_to_write for new sessions

9 years agom_ssl_openssl Free the ssl_cert object as soon as the session is closed instead of...
Attila Molnar [Wed, 15 Oct 2014 18:10:04 +0000 (20:10 +0200)]
m_ssl_openssl Free the ssl_cert object as soon as the session is closed instead of waiting for the next VerifyCertificate() or new connection

9 years agom_ssl_openssl Remove bogus errno assignment from CloseSession()
Attila Molnar [Wed, 15 Oct 2014 18:07:55 +0000 (20:07 +0200)]
m_ssl_openssl Remove bogus errno assignment from CloseSession()

9 years agoMerge pull request #935 from SaberUK/insp20+fix-crlf
Attila Molnar [Wed, 15 Oct 2014 17:55:17 +0000 (19:55 +0200)]
Merge pull request #935 from SaberUK/insp20+fix-crlf

Add a workaround for compiling modules with Windows line endings.

9 years agom_ssl_openssl Return an error from the IOHook read and write functions if the handsha...
Attila Molnar [Tue, 14 Oct 2014 15:52:41 +0000 (17:52 +0200)]
m_ssl_openssl Return an error from the IOHook read and write functions if the handshake returns 0

The meaning of a 0 return value quoted from the manual:
The TLS/SSL handshake was not successful but was shut down controlled and by the specifications of the TLS/SSL protocol.

9 years agom_ssl_openssl Add user-friendly config options for setting a few OpenSSL context...
Attila Molnar [Tue, 14 Oct 2014 15:40:13 +0000 (17:40 +0200)]
m_ssl_openssl Add user-friendly config options for setting a few OpenSSL context options

9 years agoAdd a workaround for compiling modules with Windows line endings.
Peter Powell [Mon, 13 Oct 2014 20:44:13 +0000 (21:44 +0100)]
Add a workaround for compiling modules with Windows line endings.

9 years agom_nationalchars Ask m_spanningtree to rebuild its hashmaps when the national_case_ins...
Attila Molnar [Mon, 13 Oct 2014 19:18:12 +0000 (21:18 +0200)]
m_nationalchars Ask m_spanningtree to rebuild its hashmaps when the national_case_insensitive_map changes

Issue #923

9 years agom_spanningtree Rebuild serverlist and sidlist when receiving a specific Request
Attila Molnar [Mon, 13 Oct 2014 19:16:51 +0000 (21:16 +0200)]
m_spanningtree Rebuild serverlist and sidlist when receiving a specific Request

Issue #923

9 years agom_nationalchars Rebuild the hash map in m_watch when the national_case_insensitive_ma...
Attila Molnar [Mon, 13 Oct 2014 19:12:55 +0000 (21:12 +0200)]
m_nationalchars Rebuild the hash map in m_watch when the national_case_insensitive_map changes

Issue #923

9 years agom_nationalchars Rebuild core hashmaps when the national_case_insensitive_map changes
Attila Molnar [Mon, 13 Oct 2014 19:11:14 +0000 (21:11 +0200)]
m_nationalchars Rebuild core hashmaps when the national_case_insensitive_map changes

Issue #923

9 years agoMerge pull request #934 from SaberUK/insp20+fix-various-issues
Attila Molnar [Mon, 13 Oct 2014 18:37:38 +0000 (20:37 +0200)]
Merge pull request #934 from SaberUK/insp20+fix-various-issues

Fix various issues detected by Coverity.

9 years agoKill some logically dead code detected by Coverity.
Peter Powell [Sun, 12 Oct 2014 17:38:23 +0000 (18:38 +0100)]
Kill some logically dead code detected by Coverity.

- m_watch: wl has already been confirmed to not be NULL on L161.

9 years agoReplace dodgy use of const char* and memcpy with std::string.
Peter Powell [Mon, 20 May 2013 19:15:50 +0000 (20:15 +0100)]
Replace dodgy use of const char* and memcpy with std::string.

This was backported from commit e01df63 in master.

9 years agoMerge pull request #933 from SaberUK/insp20+fix-llvm34
Attila Molnar [Mon, 13 Oct 2014 17:07:44 +0000 (19:07 +0200)]
Merge pull request #933 from SaberUK/insp20+fix-llvm34

Fix various warnings when building with LLVM 3.5.

9 years agoAvoid calling methods on NULL pointers wherever possible.
Peter Powell [Wed, 8 Oct 2014 15:34:37 +0000 (16:34 +0100)]
Avoid calling methods on NULL pointers wherever possible.

The trick we use to allow this is undefined behaviour and is not
liked by LLVM. We should stop using it but it has the potential to
break to many things for a minor release.

9 years agoFix various warnings when building with LLVM 3.5.
Peter Powell [Mon, 6 Oct 2014 12:30:31 +0000 (13:30 +0100)]
Fix various warnings when building with LLVM 3.5.

- warning: absolute value function 'abs' given an argument of type 'long' but has parameter of type 'int' which may cause truncation of value [-Wabsolute-value]
- warning: 'this' pointer cannot be null in well-defined C++ code; pointer may be assumed to always convert to true [-Wundefined-bool-conversion]

9 years agom_ssl_openssl Allow configuring raw OpenSSL context options
Attila Molnar [Fri, 10 Oct 2014 12:26:09 +0000 (14:26 +0200)]
m_ssl_openssl Allow configuring raw OpenSSL context options

9 years agom_ssl_openssl Disable session caching and session tickets
Attila Molnar [Fri, 10 Oct 2014 12:15:37 +0000 (14:15 +0200)]
m_ssl_openssl Disable session caching and session tickets

9 years agom_ssl_openssl Enable single (EC)DH use and disable SSL v2
Attila Molnar [Fri, 10 Oct 2014 12:10:24 +0000 (14:10 +0200)]
m_ssl_openssl Enable single (EC)DH use and disable SSL v2

Options enabled:
- SSL_OP_NO_SSLv2
- SSL_OP_SINGLE_DH_USE
- SSL_OP_SINGLE_ECDH_USE (if it exists)

Partial backport of #856 by @jvehent

9 years agom_ssl_openssl Clear the error queue before every SSL_* call
Attila Molnar [Wed, 8 Oct 2014 00:36:00 +0000 (02:36 +0200)]
m_ssl_openssl Clear the error queue before every SSL_* call

9 years agoMerge pull request #931 from SaberUK/insp20+fix-non-gnu-stl
Attila Molnar [Mon, 6 Oct 2014 15:40:35 +0000 (17:40 +0200)]
Merge pull request #931 from SaberUK/insp20+fix-non-gnu-stl

Fix hash_map.h on non-GNU C++ standard library implementations.

9 years agoMerge pull request #930 from rburchell/revertfix
Attila Molnar [Mon, 6 Oct 2014 15:21:08 +0000 (17:21 +0200)]
Merge pull request #930 from rburchell/revertfix

Revert "Fix an off-by-one on registration timeout handling."

9 years agoFix hash_map.h on non-GNU C++ standard library implementations.
Peter Powell [Sat, 4 Oct 2014 12:52:21 +0000 (13:52 +0100)]
Fix hash_map.h on non-GNU C++ standard library implementations.

9 years agoRevert "Fix an off-by-one on registration timeout handling."
Robin Burchell [Sat, 4 Oct 2014 23:51:47 +0000 (01:51 +0200)]
Revert "Fix an off-by-one on registration timeout handling."

This seemingly breaks (occasionally timing users out a second early), possibly
due to rounding issues on time (User::age and Time() both return int, but a
whole second is comprised of many ms).

The root cause needs investigation, but we cannot leave a potentially breaking
bug in the tree.

This reverts commit 4414d644a163f3906f90b35186e07ce0383161f4.

9 years agoMerge pull request #929 from rburchell/insp20
Attila Molnar [Sat, 4 Oct 2014 14:26:54 +0000 (16:26 +0200)]
Merge pull request #929 from rburchell/insp20

Fix an off-by-one on registration timeout handling.

9 years agoFix an off-by-one on registration timeout handling.
Robin Burchell [Sat, 4 Oct 2014 13:30:56 +0000 (15:30 +0200)]
Fix an off-by-one on registration timeout handling.

The use of > instead of >= here added a second onto the configured timeout.

We won't be breaking any existing configuration, because users.h explicitly
increases the limit if it's 0.

9 years agom_ssl_gnutls Re-set DH params when the gnutls_certificate_credentials_t struct is...
Attila Molnar [Fri, 3 Oct 2014 21:50:54 +0000 (23:50 +0200)]
m_ssl_gnutls Re-set DH params when the gnutls_certificate_credentials_t struct is reallocated

9 years agoStore Membership objects physically in the nodes of Channel::MemberMap
Attila Molnar [Sat, 27 Sep 2014 16:30:01 +0000 (18:30 +0200)]
Store Membership objects physically in the nodes of Channel::MemberMap

9 years agoAdd the insp::aligned_storage template
Attila Molnar [Sat, 27 Sep 2014 16:24:44 +0000 (18:24 +0200)]
Add the insp::aligned_storage template

9 years agoReject parameters that begin with a colon in Channel::SetDefaultModes()
Attila Molnar [Fri, 26 Sep 2014 19:07:24 +0000 (21:07 +0200)]
Reject parameters that begin with a colon in Channel::SetDefaultModes()

9 years agoDon't try to set a mode in Channel::SetDefaultModes() if it needs a parameter but...
Attila Molnar [Fri, 26 Sep 2014 18:58:55 +0000 (20:58 +0200)]
Don't try to set a mode in Channel::SetDefaultModes() if it needs a parameter but does not have one

Thanks to @docwhat for helping to track this down, fixes issue #924

9 years agoForward-port of https://github.com/inspircd/inspircd-extras/commit/a311dbcaea1abad68b...
JustArchi [Mon, 22 Sep 2014 15:37:05 +0000 (17:37 +0200)]
Forward-port of https://github.com/inspircd/inspircd-extras/commit/a311dbcaea1abad68b87ebbb283fc6d75a207a53 into master

9 years agoFix incorrect cleanup order in InspIRCd::Exit()
Attila Molnar [Mon, 15 Sep 2014 15:35:36 +0000 (17:35 +0200)]
Fix incorrect cleanup order in InspIRCd::Exit()

classbase objects such as callers call LogManager::Log() on destruction unless ServerInstance is NULL

9 years agoRemove listmode hiding support from the core
Attila Molnar [Wed, 10 Sep 2014 13:03:21 +0000 (15:03 +0200)]
Remove listmode hiding support from the core

This is now handled by m_hidelist

9 years agom_hidelist Make minimum rank required to view lists configurable
Attila Molnar [Wed, 10 Sep 2014 12:59:00 +0000 (14:59 +0200)]
m_hidelist Make minimum rank required to view lists configurable

9 years agoAdd m_hidelist that allows hiding the lists of listmodes
Attila Molnar [Wed, 10 Sep 2014 12:50:57 +0000 (14:50 +0200)]
Add m_hidelist that allows hiding the lists of listmodes

9 years agoRemove IPv6 address compaction.
Adam [Mon, 8 Sep 2014 22:27:57 +0000 (18:27 -0400)]
Remove IPv6 address compaction.

This code is incorrect and can produce addresses with multiple double
colons. No other IRCds do this and most systems today will give us the
compact version anyway.

Issue #914

9 years agoDo not use the result of the dns cache when the query type of the result is different...
Adam [Mon, 8 Sep 2014 20:58:50 +0000 (16:58 -0400)]
Do not use the result of the dns cache when the query type of the result is different from the type of the query. #66

9 years agocmode_l Reject negative limits
Attila Molnar [Fri, 5 Sep 2014 13:37:49 +0000 (15:37 +0200)]
cmode_l Reject negative limits

9 years agom_services_account Fix uninitialized variable usage introduced by insp20 merge e244cb...
Attila Molnar [Fri, 5 Sep 2014 13:32:04 +0000 (15:32 +0200)]
m_services_account Fix uninitialized variable usage introduced by insp20 merge e244cb2c63b1ac1d85bdbb4691f7b1bd940ae804

9 years agom_samode Simplify command handler logic
Attila Molnar [Fri, 5 Sep 2014 13:20:44 +0000 (15:20 +0200)]
m_samode Simplify command handler logic

9 years agoUnset oper-only modes in User::UnOper() in a more sensible way
Attila Molnar [Fri, 5 Sep 2014 13:06:21 +0000 (15:06 +0200)]
Unset oper-only modes in User::UnOper() in a more sensible way

Get the user mode list from the ModeParser instead of trying all possible mode letters

9 years agocmd_mode Exempt remote users and servers from max modes limitation when changing...
Attila Molnar [Thu, 4 Sep 2014 11:33:45 +0000 (13:33 +0200)]
cmd_mode Exempt remote users and servers from max modes limitation when changing user modes

9 years agoMigrate code from ModeParser into cmd_mode (core_user)
Attila Molnar [Thu, 4 Sep 2014 11:30:01 +0000 (13:30 +0200)]
Migrate code from ModeParser into cmd_mode (core_user)

- Process() that takes a std::vector<std::string>
- DisplayCurrentModes()
- DisplayListModes()

9 years agocore_user Expand the MODE handler into its own file
Attila Molnar [Thu, 4 Sep 2014 11:11:48 +0000 (13:11 +0200)]
core_user Expand the MODE handler into its own file

9 years agoSplit ModeParser::DisplayListMode() into two parts
Attila Molnar [Thu, 4 Sep 2014 11:08:22 +0000 (13:08 +0200)]
Split ModeParser::DisplayListMode() into two parts

ShowListModeList() sends the list of one listmode to a user, DisplayListMode() calls it for each mode letter

9 years agoRemove unused parameter passed to ModeParser::DisplayCurrentModes()
Attila Molnar [Thu, 4 Sep 2014 11:05:13 +0000 (13:05 +0200)]
Remove unused parameter passed to ModeParser::DisplayCurrentModes()

9 years agom_namedmodes Build and process a Modes::ChangeList when handling PROP
Attila Molnar [Thu, 4 Sep 2014 11:04:01 +0000 (13:04 +0200)]
m_namedmodes Build and process a Modes::ChangeList when handling PROP

9 years agoPass Modes::ChangeList references to the OnPreMode hook, make it modifiable
Attila Molnar [Thu, 4 Sep 2014 10:58:25 +0000 (12:58 +0200)]
Pass Modes::ChangeList references to the OnPreMode hook, make it modifiable

This gets rid of the duplicated mode parsing logic in m_namedmodes

9 years agoCall the MODE command handler in several modules instead of the old ModeParser::Process()
Attila Molnar [Thu, 4 Sep 2014 10:34:26 +0000 (12:34 +0200)]
Call the MODE command handler in several modules instead of the old ModeParser::Process()

9 years agom_spanningtree Simplify processing non-prefix modes in FJOINs
Attila Molnar [Thu, 4 Sep 2014 10:31:56 +0000 (12:31 +0200)]
m_spanningtree Simplify processing non-prefix modes in FJOINs

Use ModeParser::ModeParamsToChangeList() instead of duplicating logic

9 years agom_spanningtree Apply FMODE mode changes using the new ModeParser functions
Attila Molnar [Thu, 4 Sep 2014 10:30:40 +0000 (12:30 +0200)]
m_spanningtree Apply FMODE mode changes using the new ModeParser functions

9 years agoLet callers customize the begin/end positions for ModeParser::ModeParamsToChangeList()
Attila Molnar [Thu, 4 Sep 2014 10:27:04 +0000 (12:27 +0200)]
Let callers customize the begin/end positions for ModeParser::ModeParamsToChangeList()

This helps spanningtree when it deals with a vector of parameters where the modes begin at different positions

9 years agom_services_account Call ModeHandler::RemoveMode() instead of duplicating code
Attila Molnar [Thu, 4 Sep 2014 10:22:28 +0000 (12:22 +0200)]
m_services_account Call ModeHandler::RemoveMode() instead of duplicating code

9 years agoRemove irc::modestacker
Attila Molnar [Wed, 3 Sep 2014 13:40:19 +0000 (15:40 +0200)]
Remove irc::modestacker

9 years agom_spanningtree Remove CommandFJoin::ApplyModeStack()
Attila Molnar [Wed, 3 Sep 2014 13:36:21 +0000 (15:36 +0200)]
m_spanningtree Remove CommandFJoin::ApplyModeStack()

9 years agoUse Modes::ChangeList in ModeHandler::RemoveMode()
Attila Molnar [Wed, 3 Sep 2014 13:35:13 +0000 (15:35 +0200)]
Use Modes::ChangeList in ModeHandler::RemoveMode()

9 years agoReplace irc::modestacker usage with the new ModeParser::Process()
Attila Molnar [Wed, 3 Sep 2014 13:32:02 +0000 (15:32 +0200)]
Replace irc::modestacker usage with the new ModeParser::Process()

9 years agoAdd a ModeParser::Process() overload that can process an entire Modes::ChangeList
Attila Molnar [Wed, 3 Sep 2014 13:11:27 +0000 (15:11 +0200)]
Add a ModeParser::Process() overload that can process an entire Modes::ChangeList

This is a wrapper that calls ProcessSingle() repeatedly until the entire changelist is processed

9 years agoMake it possible to resume processing a partially processed Modes::ChangeList
Attila Molnar [Wed, 3 Sep 2014 13:05:56 +0000 (15:05 +0200)]
Make it possible to resume processing a partially processed Modes::ChangeList

Return number of processed mode changes from ModeParser::ProcessSingle() and add a begin index parameter

9 years agoSplit out ModeParser::ModeParamsToChangeList()
Attila Molnar [Wed, 3 Sep 2014 13:03:38 +0000 (15:03 +0200)]
Split out ModeParser::ModeParamsToChangeList()

9 years agoHandle mode merges in ModeParser::ProcessSingle()
Attila Molnar [Wed, 3 Sep 2014 12:56:42 +0000 (14:56 +0200)]
Handle mode merges in ModeParser::ProcessSingle()

9 years agoValidate mode parameters from ModeParser::ProcessSingle()
Attila Molnar [Wed, 3 Sep 2014 12:52:00 +0000 (14:52 +0200)]
Validate mode parameters from ModeParser::ProcessSingle()

9 years agoSplit out ModeParser::ProcessSingle() from Process()
Attila Molnar [Wed, 3 Sep 2014 12:47:13 +0000 (14:47 +0200)]
Split out ModeParser::ProcessSingle() from Process()

This applies up to one MODE line's worth of mode changes from a Modes::ChangeList

9 years agoAdd mode process flag MODE_CHECKACCESS
Attila Molnar [Wed, 3 Sep 2014 12:37:42 +0000 (14:37 +0200)]
Add mode process flag MODE_CHECKACCESS

9 years agoRemove ModeHandler::m_paramtype and GetTranslateType()
Attila Molnar [Wed, 3 Sep 2014 12:32:02 +0000 (14:32 +0200)]
Remove ModeHandler::m_paramtype and GetTranslateType()

9 years agoRemove ModeParser::LastParseTranslate and GetLastParseTranslate()
Attila Molnar [Wed, 3 Sep 2014 12:31:00 +0000 (14:31 +0200)]
Remove ModeParser::LastParseTranslate and GetLastParseTranslate()

9 years agoRemove ModeParser::LastParseParams and GetLastParseParams()
Attila Molnar [Wed, 3 Sep 2014 12:30:04 +0000 (14:30 +0200)]
Remove ModeParser::LastParseParams and GetLastParseParams()

9 years agoCompare Limits.MaxModes to the size of LastChangeList in ModeParser::Process()
Attila Molnar [Wed, 3 Sep 2014 12:28:57 +0000 (14:28 +0200)]
Compare Limits.MaxModes to the size of LastChangeList in ModeParser::Process()

9 years agoRemove ProtocolInterface::SendMode()
Attila Molnar [Wed, 3 Sep 2014 12:28:13 +0000 (14:28 +0200)]
Remove ProtocolInterface::SendMode()

9 years agom_spanningtree Send MODE/FMODE from the OnMode hook
Attila Molnar [Wed, 3 Sep 2014 12:26:40 +0000 (14:26 +0200)]
m_spanningtree Send MODE/FMODE from the OnMode hook

If the MODE_LOCALONLY flag is set the mode change is not propagated

9 years agom_spanningtree Add function to serialize parameters in a Modes::ChangeList::List...
Attila Molnar [Wed, 3 Sep 2014 12:23:30 +0000 (14:23 +0200)]
m_spanningtree Add function to serialize parameters in a Modes::ChangeList::List into MODE/FMODE format

9 years agoPass the modes to the OnMode hook as a Modes::ChangeList, pass ModeProcessFlags too
Attila Molnar [Wed, 3 Sep 2014 12:15:18 +0000 (14:15 +0200)]
Pass the modes to the OnMode hook as a Modes::ChangeList, pass ModeProcessFlags too

9 years agoPopulate a Modes::ChangeList object in ModeParser::Process()
Attila Molnar [Wed, 3 Sep 2014 12:09:03 +0000 (14:09 +0200)]
Populate a Modes::ChangeList object in ModeParser::Process()

9 years agoAdd Modes::Change and Modes::ChangeList
Attila Molnar [Wed, 3 Sep 2014 12:06:45 +0000 (14:06 +0200)]
Add Modes::Change and Modes::ChangeList