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
Peter Powell
0a0aa94537
Fix #380 on BSD make.
2012-12-07 18:38:34 +01:00
Attila Molnar
7f582ed98c
Merge pull request #380 from SaberUK/insp20+fix-clang-warning
...
Fix invalid argument warnings on clang.
2012-12-07 07:00:11 -08:00
Peter Powell
c468e9b368
Fix invalid argument warnings on clang.
2012-12-07 03:32:50 +00:00
attilamolnar
391ec2c499
m_svshold Fix crash when called with 2 params, only triggerable by u-lines
2012-12-05 21:49:47 +01:00
attilamolnar
a969c1e440
m_cban, m_rline, m_shun Don't broadcast when user is a local user
...
spanningtree sends an ADDLINE in this case
2012-12-05 21:49:46 +01:00
attilamolnar
73074b0a78
Change a few signed counter variables to unsigned so they roll over later
2012-12-05 21:49:39 +01:00
attilamolnar
850563d175
Fix expired xlines being treated as live ones in XLineManager::AddLine()
...
This fixes ADDLINEs not being propagated and /gline etc. failing for already existing but expired xlines
Special thanks to @JDowny (TinMan) for his detailed report and cooperation that made this fix possible
Fixes #306 reported by @TurkDesk
Fixes #379 reported by @JDowny
2012-12-05 21:47:54 +01:00
attilamolnar
934bd8209b
Unbreak m_geoip
2012-12-04 16:26:34 +01:00
attilamolnar
a87c56faea
Fix thread handle leak in StartServiceThread()
2012-12-03 21:29:24 +01:00
attilamolnar
4451fd13a1
Fix broken RetrieveLastError()
...
- FORMAT_MESSAGE_IGNORE_INSERTS flag wasn't used and we never pass insertion parameters, this could cause FormatMessage() to fail
- The return value of FormatMessage() wasn't checked, if it returned zero (failure) then RetrieveLastError() returned garbage if err[] wasn't initialized previously
2012-12-03 21:28:38 +01:00