]> git.netwichtig.de Git - user/henk/code/inspircd.git/log
user/henk/code/inspircd.git
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 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 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 agom_sqlite3 Fix cleanup of unsuccessful database connections
Attila Molnar [Mon, 1 Sep 2014 22:15:59 +0000 (00:15 +0200)]
m_sqlite3 Fix cleanup of unsuccessful database connections

9 years agoMerge pull request #910 from SaberUK/insp20+even-more-build-system-fixes
Attila Molnar [Sun, 31 Aug 2014 12:42:00 +0000 (14:42 +0200)]
Merge pull request #910 from SaberUK/insp20+even-more-build-system-fixes

Fix unit-cc not loading configure cache when building files.

9 years agoFix unit-cc not loading configure cache when building files.
Peter Powell [Wed, 27 Aug 2014 21:01:54 +0000 (22:01 +0100)]
Fix unit-cc not loading configure cache when building files.

9 years agoMerge pull request #900 from SaberUK/insp20+build-system-fixes
Attila Molnar [Tue, 19 Aug 2014 14:56:11 +0000 (16:56 +0200)]
Merge pull request #900 from SaberUK/insp20+build-system-fixes

[2.0] Fix various problems with the build system.

9 years agoAdd a work around for trampling over PKG_CONFIG_PATH.
Peter Powell [Sun, 10 Aug 2014 16:41:54 +0000 (17:41 +0100)]
Add a work around for trampling over PKG_CONFIG_PATH.

The extend_pkg_path method will be removed in 2.2 as it
causes problems with non-standard pkg-config paths. This
commit adds a workaround until that happens.

9 years agoFix pkg-config not being used for OpenSSL on non-FreeBSD systems.
Peter Powell [Sat, 26 Jul 2014 16:57:50 +0000 (17:57 +0100)]
Fix pkg-config not being used for OpenSSL on non-FreeBSD systems.

9 years agoMerge pull request #899 from SaberUK/insp20+fix-listmode-limits
Attila Molnar [Wed, 6 Aug 2014 20:12:54 +0000 (22:12 +0200)]
Merge pull request #899 from SaberUK/insp20+fix-listmode-limits

[2.0] Fix listmodes when the config does not specify a wildcard size entry.

9 years agoFix listmodes when the config does not specify a wildcard size entry.
Peter Powell [Sun, 3 Aug 2014 09:35:31 +0000 (10:35 +0100)]
Fix listmodes when the config does not specify a wildcard size entry.

9 years agoRelease v2.0.17
Attila Molnar [Thu, 24 Jul 2014 12:24:00 +0000 (14:24 +0200)]
Release v2.0.17

9 years agoUpdate example configuration files, fix typos and case
Attila Molnar [Thu, 24 Jul 2014 12:20:14 +0000 (14:20 +0200)]
Update example configuration files, fix typos and case

Mention m_regex_stdlib in the list of regex providers after m_filter

9 years agom_spanningtree Always treat the remote client as the winner on nick collision if...
Attila Molnar [Tue, 22 Jul 2014 18:15:44 +0000 (20:15 +0200)]
m_spanningtree Always treat the remote client as the winner on nick collision if the nick is used by a (local) client that isn't fully registered

9 years agoMake sure the DN strings obtained from the SSL mods are always valid
Attila Molnar [Tue, 22 Jul 2014 18:05:10 +0000 (20:05 +0200)]
Make sure the DN strings obtained from the SSL mods are always valid

9 years agoUpdate aliases/anope.conf.example
Adam [Wed, 23 Jul 2014 12:17:24 +0000 (08:17 -0400)]
Update aliases/anope.conf.example

9 years agom_hideoper: Hide hidden opers from /stats P. #874
Adam [Tue, 17 Jun 2014 12:49:37 +0000 (08:49 -0400)]
m_hideoper: Hide hidden opers from /stats P. #874

10 years agoMerge pull request #878 from SaberUK/insp20+fix-minor-issues
Attila Molnar [Sun, 29 Jun 2014 17:59:53 +0000 (19:59 +0200)]
Merge pull request #878 from SaberUK/insp20+fix-minor-issues

Fix various small problems with configure.

10 years agoFix various small problems with configure.
Peter Powell [Sun, 22 Jun 2014 07:59:14 +0000 (08:59 +0100)]
Fix various small problems with configure.

- Fix temporary files not being deleted after use.
- Fix the option for disabling rpath.
- Fix the help message:
  * Fix indentation of some help options.
  * Fix default paths not containing 'run'.
  * Remove documentation for --disable-ipv6 (exists but does nothing).
  * Remove documentation for --library-dir (does not exist).
- Fix some minor errors in messages.

10 years agoMerge pull request #879 from SaberUK/insp20+fix-denychans
Attila Molnar [Wed, 25 Jun 2014 22:10:46 +0000 (00:10 +0200)]
Merge pull request #879 from SaberUK/insp20+fix-denychans

Fix copy/paste error in m_denychans.

10 years agoFix copy/paste error in m_denychans.
Peter Powell [Tue, 24 Jun 2014 20:09:23 +0000 (21:09 +0100)]
Fix copy/paste error in m_denychans.

10 years agom_chghost Allow ulined servers to change the host of unregistered users (for SASL)
Attila Molnar [Wed, 18 Jun 2014 11:50:39 +0000 (13:50 +0200)]
m_chghost Allow ulined servers to change the host of unregistered users (for SASL)

10 years agoMerge pull request #872 from theckman/remove_whitespace_from_docs
Attila Molnar [Sun, 15 Jun 2014 04:27:38 +0000 (06:27 +0200)]
Merge pull request #872 from theckman/remove_whitespace_from_docs

Remove whitespace from docs

10 years agoremove unneeded whitespace from the docs/examples
Tim Heckman [Sun, 15 Jun 2014 01:36:57 +0000 (18:36 -0700)]
remove unneeded whitespace from the docs/examples

10 years agoFix harmless loop off-by-ones found by Moonlightning
satmd [Sun, 1 Jun 2014 15:53:31 +0000 (17:53 +0200)]
Fix harmless loop off-by-ones found by Moonlightning

10 years agom_spanningtree Forward NICK messages when they cause a collision with the new nick...
Attila Molnar [Fri, 6 Jun 2014 06:48:50 +0000 (08:48 +0200)]
m_spanningtree Forward NICK messages when they cause a collision with the new nick param rewritten to the uuid

Suppressing these messages meant that we relied on an appropriate NICK to
come from the direction the SAVE was sent to; this left all servers behind
us uninformed until the target server of the SAVE reacted with a nick change
to uuid.

This was problematic because someone can legitimately change nick to the
past nick of the SAVEd user on a server that already has the SAVEd user
with the uuid nick and that nick change message can reach servers that
haven't yet seen the nick change to uuid of the SAVEd user.

10 years agom_spanningtree Fix cleanup of connections when unloading a module that provides an...
Attila Molnar [Thu, 5 Jun 2014 23:46:21 +0000 (01:46 +0200)]
m_spanningtree Fix cleanup of connections when unloading a module that provides an IOHook

10 years agoUpdate server.cpp
Dan Parsons [Tue, 20 May 2014 22:48:50 +0000 (15:48 -0700)]
Update server.cpp

Rewrote "invalid credentials" error message to remove confusion regarding "server snomask", which some users interpreted as "I must make sure the snomask on each server is identical" (which makes no sense), when really the intention is basically "look at the logs on the other server".

10 years agoMerge pull request #854 from SaberUK/insp20+deprecated-plist-entry
Attila Molnar [Sun, 18 May 2014 17:08:17 +0000 (19:08 +0200)]
Merge pull request #854 from SaberUK/insp20+deprecated-plist-entry

Replace deprecated entry in launchd config with the modern equivalent.

10 years agoReplace deprecated entry in launchd config with the modern equivalent.
Peter Powell [Sun, 18 May 2014 09:16:27 +0000 (10:16 +0100)]
Replace deprecated entry in launchd config with the modern equivalent.

10 years agoUpdate year in resource file for Windows
Attila Molnar [Sat, 10 May 2014 17:00:52 +0000 (19:00 +0200)]
Update year in resource file for Windows

10 years agoFix m_permchannels and m_xline_db on Windows
Adam [Thu, 8 May 2014 23:40:13 +0000 (19:40 -0400)]
Fix m_permchannels and m_xline_db on Windows

The call to remove() can fail if the database doesn't already exist. Just
ignore the error, which effectively makes the rename() call below work as
it does on nix

10 years agoDo not export callers
Adam [Thu, 8 May 2014 23:18:02 +0000 (19:18 -0400)]
Do not export callers

Their functions are all inlined and Windows gives unresolved symbol errors

10 years agom_cgiirc Call User::InvalidateCache() after changing host and dhost in OnCheckReady()
Attila Molnar [Wed, 30 Apr 2014 22:07:10 +0000 (00:07 +0200)]
m_cgiirc Call User::InvalidateCache() after changing host and dhost in OnCheckReady()

10 years agom_spanningtree Advertise the availability of m_globops in CAPAB CAPABILITIES
Attila Molnar [Tue, 29 Apr 2014 14:10:22 +0000 (16:10 +0200)]
m_spanningtree Advertise the availability of m_globops in CAPAB CAPABILITIES

10 years agom_spanningtree Set the bursting flag in the FJOIN handler based on whether the source...
Attila Molnar [Sat, 26 Apr 2014 14:22:03 +0000 (16:22 +0200)]
m_spanningtree Set the bursting flag in the FJOIN handler based on whether the source of the FJOIN is bursting or not

Previously the flag was true if our route to the source was bursting, which resulted in m_joinflood incorrectly registering netjoins when a remote server was bursting

Fixes issue #839 reported by @joshtek0

10 years agoMerge pull request #832 from SaberUK/insp20+fix-ssl-question
Attila Molnar [Sun, 20 Apr 2014 17:58:26 +0000 (19:58 +0200)]
Merge pull request #832 from SaberUK/insp20+fix-ssl-question

Backport questions from master's genssl tool.

10 years agoFix undefined symbol error on module load if compiled with Clang 3.4
Attila Molnar [Sat, 19 Apr 2014 15:10:01 +0000 (17:10 +0200)]
Fix undefined symbol error on module load if compiled with Clang 3.4

Fixes issue #803 reported by @SaberUK

10 years agoBackport questions from master's genssl tool.
Peter Powell [Wed, 16 Apr 2014 18:58:01 +0000 (19:58 +0100)]
Backport questions from master's genssl tool.

10 years agoCompress the Windows installer with zlib to reduce AV false positives
Attila Molnar [Sun, 13 Apr 2014 14:08:49 +0000 (16:08 +0200)]
Compress the Windows installer with zlib to reduce AV false positives

10 years agoChange Windows libraries to be dynamically linked
Adam [Sun, 13 Apr 2014 01:46:19 +0000 (21:46 -0400)]
Change Windows libraries to be dynamically linked

10 years agom_ssl_openssl Avoid Applink on Windows by calling PEM_read_bio_DHparams() instead...
Attila Molnar [Thu, 10 Apr 2014 23:03:36 +0000 (01:03 +0200)]
m_ssl_openssl Avoid Applink on Windows by calling PEM_read_bio_DHparams() instead of PEM_read_DHparams()

10 years agoAllow uppercase letters in IPv6 CIDR masks
Attila Molnar [Sun, 13 Apr 2014 14:02:07 +0000 (16:02 +0200)]
Allow uppercase letters in IPv6 CIDR masks

10 years agom_auditorium Handle NULL return from Channel::GetUser() in OnSendWhoLine()
Attila Molnar [Sun, 13 Apr 2014 13:46:10 +0000 (15:46 +0200)]
m_auditorium Handle NULL return from Channel::GetUser() in OnSendWhoLine()

Found by Coverity, CID: 1135647

10 years agoIgnore NULL callbacks in ModuleManager::Reload()
Attila Molnar [Sun, 13 Apr 2014 13:43:01 +0000 (15:43 +0200)]
Ignore NULL callbacks in ModuleManager::Reload()

Found by Coverity, CID: 1201453

10 years agom_ojoin Remove pointless FindChan() call
Attila Molnar [Sun, 13 Apr 2014 13:41:35 +0000 (15:41 +0200)]
m_ojoin Remove pointless FindChan() call

Found by Coverity, CID: 1135649

10 years agoChange FormatMessage() usage in DLLManager::RetrieveLastError() to match SocketEngine...
Attila Molnar [Sat, 12 Apr 2014 21:00:01 +0000 (23:00 +0200)]
Change FormatMessage() usage in DLLManager::RetrieveLastError() to match SocketEngine::LastError()

See 4451fd13a1accec8d7c2b1bb7fdafd6e50a2566b

10 years agoFilter out newlines from error messages on Windows
Attila Molnar [Sat, 12 Apr 2014 20:51:10 +0000 (22:51 +0200)]
Filter out newlines from error messages on Windows

10 years agom_watch Be more strict when checking whether the watch list of a user is full
Attila Molnar [Sat, 12 Apr 2014 20:38:34 +0000 (22:38 +0200)]
m_watch Be more strict when checking whether the watch list of a user is full

After a rehash MAX_WATCH can become lower than it was before

10 years agoMerge pull request #827 from Robby-/insp20-helpopconf
Attila Molnar [Sat, 12 Apr 2014 20:35:34 +0000 (22:35 +0200)]
Merge pull request #827 from Robby-/insp20-helpopconf

Some more helpop config updates, and fix a few module syntax messages.

10 years agoSome more helpop config updates.
Robby- [Sat, 12 Apr 2014 20:18:22 +0000 (22:18 +0200)]
Some more helpop config updates.

10 years agoCorrect the syntax messages of a few modules.
Robby- [Sat, 12 Apr 2014 20:08:41 +0000 (22:08 +0200)]
Correct the syntax messages of a few modules.

10 years agoRelease 2.0.16
Attila Molnar [Sun, 6 Apr 2014 14:28:11 +0000 (16:28 +0200)]
Release 2.0.16

10 years agoFix IPv6 address handling in 6aaf7047297b739377e7d509cb914f32447fb281
Attila Molnar [Sun, 6 Apr 2014 14:25:50 +0000 (16:25 +0200)]
Fix IPv6 address handling in 6aaf7047297b739377e7d509cb914f32447fb281

10 years agoFix typo in helpop-full that prevented it from loading and other minor helpop issues
Attila Molnar [Sun, 6 Apr 2014 14:21:04 +0000 (16:21 +0200)]
Fix typo in helpop-full that prevented it from loading and other minor helpop issues

10 years agoFix snotice about disabled command usage being sent to the wrong snomask
Attila Molnar [Fri, 4 Apr 2014 16:31:10 +0000 (18:31 +0200)]
Fix snotice about disabled command usage being sent to the wrong snomask

10 years agoAdd REG_ALL checks to treat unregistered users as nonexistent in more cases
Attila Molnar [Fri, 4 Apr 2014 16:30:02 +0000 (18:30 +0200)]
Add REG_ALL checks to treat unregistered users as nonexistent in more cases

10 years agoFix typos and update text in the configure script
Attila Molnar [Fri, 4 Apr 2014 16:17:00 +0000 (18:17 +0200)]
Fix typos and update text in the configure script

Some of these were picked from #448

10 years agoMajor example configuration and helpop update
Attila Molnar [Wed, 19 Mar 2014 14:52:07 +0000 (15:52 +0100)]
Major example configuration and helpop update

Big thanks to @m4z (#621) and @Robby- (#630) who contributed a lot to this

10 years agom_watch Validate targ before use, noticed while rewriting m_watch for 2.2
Attila Molnar [Thu, 27 Mar 2014 14:41:47 +0000 (15:41 +0100)]
m_watch Validate targ before use, noticed while rewriting m_watch for 2.2

10 years agom_globalload Don't pass a callback to ModuleManager::Reload() if reloading m_globalload
Attila Molnar [Wed, 26 Mar 2014 16:24:51 +0000 (17:24 +0100)]
m_globalload Don't pass a callback to ModuleManager::Reload() if reloading m_globalload

10 years agom_httpd Fix typo noticed by @SaberUK
Attila Molnar [Tue, 25 Mar 2014 13:40:37 +0000 (14:40 +0100)]
m_httpd Fix typo noticed by @SaberUK

10 years agom_operprefix Don't set +y on the oper if hideoper is being unset due to deopering
Attila Molnar [Sun, 23 Mar 2014 21:10:04 +0000 (22:10 +0100)]
m_operprefix Don't set +y on the oper if hideoper is being unset due to deopering

Fixes issue #801 reported by @UselessOper

10 years agoFix NAMES list getting truncated on servers having an excessively long server name
Attila Molnar [Thu, 13 Mar 2014 14:41:10 +0000 (15:41 +0100)]
Fix NAMES list getting truncated on servers having an excessively long server name

10 years agoBackport "Refactor Channel::UserList() to use std::string"
Attila Molnar [Thu, 13 Mar 2014 14:37:19 +0000 (15:37 +0100)]
Backport "Refactor Channel::UserList() to use std::string"

This gets rid of questionable snprintf() usage, reported by @hifi

Backported commit: 8a06d54076551387f83a29360478ee6605e241b6

10 years agocmd_names Allow opers having the channels/auspex priv to view the NAMES list of ...
Attila Molnar [Tue, 11 Mar 2014 12:20:21 +0000 (13:20 +0100)]
cmd_names Allow opers having the channels/auspex priv to view the NAMES list of +s channels from outside

A version of the check removed by this commit is in Channel::UserList() which takes the priv into account

Discovered by @Cronus89

10 years agoImprove detection for non-cidr masks to prevent unwanted matches
Attila Molnar [Mon, 10 Mar 2014 11:17:41 +0000 (12:17 +0100)]
Improve detection for non-cidr masks to prevent unwanted matches

Fixes issue #762 reported by @neoinr

10 years agom_spanningtree Do pointer comparison before deleting one of the pointers in TreeSocke...
Attila Molnar [Sun, 2 Mar 2014 16:04:51 +0000 (17:04 +0100)]
m_spanningtree Do pointer comparison before deleting one of the pointers in TreeSocket::Squit()

While the previous code worked fine in practice, it was incorrect in theory

10 years agom_spanningtree Don't send snotices to servers about remote servers splitting
Attila Molnar [Sun, 2 Mar 2014 16:00:12 +0000 (17:00 +0100)]
m_spanningtree Don't send snotices to servers about remote servers splitting

The snotice is sent to opers when the SQUIT is processed by their server