11072 Commits

Author SHA1 Message Date
attilamolnar
99a470a590 Stop user initialization when the user is marked as quitting after OnSetUserIP 2013-03-11 20:48:58 +01:00
attilamolnar
3e6a05f4fa m_dnsbl Fix connecting users timeouting when a dnsbl result is in the dns cache
Fixes #431 reported by @killerrabbit
2013-03-11 20:48:58 +01:00
Attila Molnar
af496f1fea Merge pull request #437 from SaberUK/insp20+doxygen-update
Update Doxyfile for the latest version of Doxygen.
2013-03-09 11:22:36 -08:00
Peter Powell
6da7562f94 Update Doxyfile for the latest version of Doxygen. 2013-03-08 16:50:04 +00:00
attilamolnar
0fa15e165f cmd_lusers Be smart and know how many invisible users are there without iterating the userlist 2013-03-03 23:08:33 +01:00
attilamolnar
596f199f11 cmd_lusers Use of size() instead of counting elements 2013-03-03 23:08:33 +01:00
attilamolnar
19523c7500 cmd_lusers Refresh max local/global user counters after a user connects
Fixes #423 reported by @RawrDragon
2013-03-03 23:08:33 +01:00
attilamolnar
1d3d2a5434 cmd_lusers Convert to a module 2013-03-03 23:08:33 +01:00
Attila Molnar
be5b0e2b39 Merge pull request #430 from SaberUK/insp20+config-tidy
Reorganise configuration files.
2013-03-02 08:23:22 -08:00
Peter Powell
5f6372b2f0 Reorganise configuration files:
- Example config files now end with .conf.example.
- Example text files now end with .txt.example.
- Removed 'inspircd' from the name of multiple example files.
- Added missing oper motd example file.
2013-03-02 15:50:09 +00:00
attilamolnar
d8e92ecc5e m_ssl_gnutls Fix null pointer dereference in case gnutls_xxx_get_name() returns NULL 2013-02-17 21:59:23 +01:00
Peter Powell
83e36af589 Fix multiple escape bugs in m_httpd_stats. 2013-02-17 21:36:26 +01:00
attilamolnar
a0f92dd232 cmd_invite Send invite announcements to halfops and higher when <security:announceinvites> is 'dynamic' regardless of the channel being +i or not
Clarify what the various options mean in the doc

Fixes #418 reported by @RawrDragon
2013-02-11 17:52:21 +01:00
attilamolnar
1f541d7bbc cmd_invite Correct error message when the user has no privs to invite and no halfop prefix is available 2013-02-11 17:47:51 +01:00
attilamolnar
58212b3d2b Fix exactly <limits:maxchan> long channel names being truncated
Fixes #422 reported by @RawrDragon
2013-02-11 16:16:39 +01:00
Attila Molnar
41c6a4d5ef Merge pull request #416 from SaberUK/insp20+clang42-warnings
Remove unused variables detected by Clang 4.2.
2013-02-03 07:01:56 -08:00
Peter Powell
bf6c166c64 Remove unused variables detected by Clang 4.2. 2013-02-01 11:47:39 +00:00
Attila Molnar
0cca0dbb8a Merge pull request #414 from SaberUK/insp20+hashmap
[2.0] Use the preprocessor to detect whether hash_map is available.
2013-01-28 13:57:10 -08:00
Attila Molnar
2239d91ca7 Merge pull request #413 from SaberUK/insp20+httpd
[2.0] Use a better server name in m_httpd.
2013-01-28 13:53:06 -08:00
Peter Powell
2e04480f21 Use the preprocessor to detect whether hash_map is available. 2013-01-28 21:38:03 +00:00
Peter Powell
1a9e21cd03 Use a better server name in m_httpd. 2013-01-28 21:34:14 +00:00
attilamolnar
6e3bba315d m_ssl_gnutls Fix build with GnuTLS 1.x
Fixes #409 reported by @SaberUK
2013-01-28 21:10:11 +01:00
attilamolnar
228ac9496b m_chanhistory Fix durations containing 'S' being rejected 2013-01-27 17:22:18 +01:00
Peter Powell
0e56edffa3 Use GNU install on Solaris. 2013-01-27 16:54:22 +01:00
Attila Molnar
c4c7448c68 Merge pull request #407 from SaberUK/insp20+fix-openssl-detection
Fix OpenSSL detection on distributions which modify the version number.
2013-01-22 09:47:50 -08:00
Peter Powell
b4d6e0bf2a Fix OpenSSL detection on distributions which modify the version number. 2013-01-22 10:52:56 +00:00
Robin Burchell
a76167642d Merge pull request #403 from SaberUK/insp20+wextra-fixes
Fix warning: "const type qualifier on return type has no effect".
2013-01-16 03:18:13 -08:00
Peter Powell
1883b0cebe Fix warning: "const type qualifier on return type has no effect". 2013-01-16 11:13:23 +00:00
attilamolnar
ee5e5aa775 m_spanningtree Fix rare desync when a KILL crosses a message that has the killed user's prefix and modifies global state 2013-01-14 19:59:47 +01:00
attilamolnar
61dcf0d999 m_maphide Ignore unregistered users
Fixes #400 reported by @SaberUK
2013-01-13 23:33:20 +01:00
Attila Molnar
fd4b74357b Merge pull request #397 from Robby-/insp20+cmode_b-limit
[2.0] cmode_b: Correction to the maxbans conditional
2013-01-05 07:44:55 -08:00
Robby-
1aaba0debc cmode_b: Correction to the maxbans conditional
It was possible to set one more ban beyond the configured limit.
2013-01-03 19:35:02 +01:00
attilamolnar
3988e9779e m_messageflood Ask to be the last to handle OnUserPreMessage/OnUserPreNotice
Fixes #394 reported by @JDowny
2013-01-02 19:01:57 +01:00
attilamolnar
9cd47a421d m_banredirect Deny the join to the redirect channel if it has a redirecting ban set that matches the user
Fixes #395 reported by @patatje368
2013-01-02 18:36:09 +01:00
attilamolnar
d0aa0fab53 m_banredirect Remove unnecessary hooks, cleanup
- Remove prioritization before m_banexception, it doesn't even hook OnUserPreJoin
- Remove OnChannelDelete handler: nothing to do in that case, our extension item is automatically freed
- Remove empty OnRehash handler
2013-01-02 18:36:00 +01:00
Peter Powell
a0eeadff23 Replace a GNUmake idiom with the portable equivalent. 2012-12-25 18:39:04 +01:00
Peter Powell
020eeeabd8 Include <list> in base.h to prevent build errors on OpenBSD. 2012-12-25 18:39:03 +01:00
Peter Powell
8540f6af60 Fix the poll socket engine on BSD's other than FreeBSD. 2012-12-25 18:39:03 +01:00
Peter Powell
618d13196d OpenBSD does not have KERN_MAXFILESPERPROC. 2012-12-25 18:39:03 +01:00
attilamolnar
5a378e1b08 m_ldapoper Fix typo spotted by @lordsith49
Fixes #392
2012-12-25 18:26:47 +01:00
attilamolnar
401e01feb0 Fix errors in socketengine_ports so it compiles on Solaris
Thanks to fraggeln for reporting and testing
2012-12-21 18:26:22 +01:00
Peter Powell
092f9d7ec1 Fix property list arguments. 2012-12-21 01:47:12 +01:00
Adam
32208f45fe Fixed m_ssl_gnutls build on Windows; gnutls.h uses ssize_t which is defined in gcrypt.h 2012-12-17 06:02:09 -05:00
attilamolnar
d1cc59fa4b Release 2.0.10 v2.0.10 2012-12-16 16:30:58 +01:00
attilamolnar
0383c3dc7a m_callerid Fix memory leak in CallerIDExtInfo::free() 2012-12-16 16:08:39 +01:00
attilamolnar
d00914ed6f Add a flag to Command that controls whether an empty last parameter is allowed or not 2012-12-15 21:17:06 +01:00
attilamolnar
ab65f7902f m_ident Reject invalid and error replies 2012-12-15 19:47:47 +01:00
attilamolnar
e3e3a35899 Add IS_SERVER() and REG_ALL checks to (mostly oper only) commands taking a target nickname
If a SID was passed as the target user parameter or when it's an unregistered user reply with the "no such nick" (or the moral equivalent) message
2012-12-15 19:47:40 +01:00
attilamolnar
71d53e4883 Remove ServerLimits::Finalise(), it's completely wrong
Truncate <limits:identmax>+1 long idents in User::ChangeIdent()
2012-12-09 18:12:09 +01:00
attilamolnar
e3efb6a0f6 Fix unsafe iteration in DelMode() when unloading m_permchannels 2012-12-08 16:24:09 +01:00