10891 Commits

Author SHA1 Message Date
ChrisTX
867e74a2ac configreader: Replace ConfValue here with a ConfigTagList enumeration, as it isn't guaranteed that bind or link tags are unique which causes Issue #270
Original commit edited by @attilamolnar
- fixed wrong line being displayed in generated messages
- removed redundant ServerInstance->Config before ConfTags
2012-09-13 16:53:36 +02:00
attilamolnar
e67dff32ce Set errno to EINPROGRESS on Windows when the connect() call does not complete immediately, to simulate unix behavior
This makes code that checks errno to determine whether connect() has succeeded or not work properly on Windows
Fixes #298 reported by @butaman
2012-09-13 14:16:11 +02:00
attilamolnar
2ef3dffd47 Don't allow banned users to NOTICE a channel when security:restrictbannedusers is on
Fixes #297 reported by @killerrabbit
2012-09-13 01:07:02 +02:00
Adam
c4a53990f0 Fix bug #291 - fix rehashing bind tags not changing them between servers/clients and ssl/nonssl 2012-09-12 16:56:47 -04:00
Attila Molnar
3af395f6a1 Merge pull request #296 from SaberUK/insp20-namespace-pollution
[2.0] Avoid global namespace pollution.
2012-09-09 11:32:27 -07:00
Peter Powell
888228bc64 Avoid global namespace pollution. 2012-09-06 15:38:24 +01:00
attilamolnar
732e279187 m_svshold Broadcast SVSHOLD commands sent by servers without ADDLINE
Fixes #293 reported by @DrRenX
2012-09-02 03:08:43 +02:00
attilamolnar
684b44d4e6 Remove unnecessary assignment in BanCacheManager::RemoveEntries 2012-08-25 01:49:32 +02:00
attilamolnar
10fad422df Remove unnecessary cleanup in XLineManager destructor 2012-08-25 01:49:32 +02:00
attilamolnar
2879d35dcb Remove unnecessary string copy in XLineManager::InvokeStats 2012-08-25 01:49:32 +02:00
attilamolnar
cf01674e07 m_knock Don't concatenate the knock reason, the command parser does it for us 2012-08-25 00:48:02 +02:00
attilamolnar
7aacf73950 Add a config option to enable/disable the welcome notice sent to clients after successful registration
Fixes #284 reported by @hoggeh
2012-08-25 00:37:04 +02:00
attilamolnar
d6861984e8 Remove reference to m_ziplinks from modules.conf.unreal and modules.conf.charybdis
Fixes #285 reported by @hoggeh
2012-08-25 00:10:47 +02:00
ChrisTX
67dbc3131f listensocket: Fix the two aliasing warnings
m_ssl_gnutls: Fix three warnings:
1. libgcrypt will emit a warning to stdout during runtime that it has not been properly initialized
2. Resolve a warning about invalid narrowing inside a { } block. This is not valid as of C++11.
3. Resolve a warning about a wrong format specifier being used
2012-08-20 17:26:26 +02:00
attilamolnar
d43db424fe Change "allowmismatched" to "allowmismatch" in example config
Fixes issue #279 reported by @lethality
2012-08-20 16:47:24 +02:00
Attila Molnar
36171f5309 Merge pull request #278 from SaberUK/insp20-fix-windows
Fix Windows build that was broken by 9b66dd6.
2012-08-14 04:22:34 -07:00
Peter Powell
8b81ddc87a Fix Windows build that was broken by 9b66dd6. 2012-08-14 07:02:25 +01:00
Robin Burchell
388e4ff409 Merge pull request #251 from Shawn-Smith/insp20+extbanU
[2.0] Add ExtBan U to match only unregistered users
2012-08-13 01:08:35 -07:00
attilamolnar
46d3b5e9fc m_spanningtree Add missing aposthrope to connection failed server notice 2012-08-10 17:04:08 +02:00
ChrisTX
9826eb515c m_spanningtree: Resolve issue #250 2012-08-10 17:04:07 +02:00
attilamolnar
a459f5b0e3 m_spanningtree Specify the uuid of the remote user when sending server NOTICE/PRIVMSG to him 2012-08-08 15:04:17 +02:00
attilamolnar
1d7764cbc1 m_spanningtree Handle ? wildcard as well when processing an incoming ENCAP 2012-08-08 15:04:17 +02:00
attilamolnar
fae560cddc m_messageflood Unset +f when the module is unloaded 2012-08-08 14:12:03 +02:00
attilamolnar
21c3232b8e m_messageflood Make code more readable
Remove unnecessary checks
Use std::string::find() and ::substr() for finding the delimiter and splitting the parameter
2012-08-08 14:05:00 +02:00
attilamolnar
080d9e0d4c m_messageflood Perform at most one std::map::find() per message if we aren't kicking the user 2012-08-08 13:35:21 +02:00
attilamolnar
6e2b6aae53 Remove sprintf from the two implementations of ModeHandler::RemoveMode 2012-08-08 13:34:05 +02:00
attilamolnar
44e89aafb6 m_namesx, m_uhnames Don't convert the command name to irc::string in OnPreCommand()
The command is converted into an uppercase string in CommandParser::ProcessCommand()
2012-07-27 01:09:35 +02:00
Peter Powell
746932587a Don't hard code the branch version. 2012-07-27 00:14:43 +02:00
attilamolnar
6dbcfc3858 m_ssl_openssl Port ISUPPORT changes from m_ssl_gnutls to fix #261
Add a config option that can be used to set the value of the SSL token in ISUPPORT (77b42efc86122d3720f85bddd85a2dc80d0baff9)
Advertise only one ssl port by default in ISUPPORT (d30cdacab7100426c3773eafffd50aebf8155bba)
2012-07-27 00:08:21 +02:00
attilamolnar
2f4c812e7c Update example configs
Document m_chanhistory settings
Note that m_censor adds usermode +G as well
Add geoip /STATS G to helpop
2012-07-26 23:00:30 +02:00
Attila Molnar
6d4db6b262 Merge pull request #267 from Shawn-Smith/insp20+versionsfix
[2.0] Removed version line references to other IRCds
2012-07-26 08:54:57 -07:00
Shawn Smith
7a01a023a1 Updated version lines to be more descriptive and remove references to other IRCds 2012-07-26 11:49:45 -04:00
attilamolnar
b43e77b059 m_ssl_gnutls Allow setting the priorities to use on the ciphers, key exchange algorithms, compression methods and macs 2012-07-26 16:30:07 +02:00
attilamolnar
4b77a70856 m_hostchange No reason to prioritize after m_cloaking 2012-07-26 02:25:35 +02:00
attilamolnar
bcd91de347 m_hostchange Remove string copy 2012-07-26 02:25:35 +02:00
attilamolnar
7297c11c72 m_hostchange Store host change action as an enum value instead of a string, stop using pointers and std::map for no reason, warn about config problems 2012-07-26 02:25:34 +02:00
attilamolnar
4f3869238d m_opermotd Add support for viewing opermotd on a remote server (as advertised) 2012-07-26 02:25:34 +02:00
attilamolnar
3af1c39b22 m_uninvite Notify remote users properly 2012-07-26 02:25:33 +02:00
attilamolnar
d5792b9227 m_connflood Cleanup 2012-07-26 00:52:31 +02:00
attilamolnar
dd7aff3701 Remove negative BanCache entries only when the AddLine is successful instead of removing them before checking anything 2012-07-22 22:22:11 +02:00
attilamolnar
9b66dd6c29 Don't hardcode conf/inspircd.conf as the config file, allow the configure script to override it (configure asked for the path but the ircd used the hardcoded path regardless)
Fixes #264 reported by @ampt
2012-07-21 16:01:39 +02:00
attilamolnar
0b3a4371c5 m_namesx Handle colons in channel names properly
Fixes #258 reported by @FxChiP
2012-07-21 16:01:28 +02:00
attilamolnar
05f54a7222 m_ssl_gnutls Compile with -Wno-deprecated-declarations
Fixes #246 reported by @SeLEct-
2012-07-21 16:00:30 +02:00
attilamolnar
d30cdacab7 m_ssl_gnutls Advertise only one ssl port by default in ISUPPORT
Fixes #261 reported by @Shawn-Smith and others
2012-07-21 16:00:30 +02:00
attilamolnar
290bf076e0 m_ssl_gnutls Move common session initialization code into a function 2012-07-21 16:00:30 +02:00
attilamolnar
77b42efc86 m_ssl_gnutls Add a config option that can be used to set the value of the SSL token in ISUPPORT 2012-07-21 16:00:30 +02:00
Adam
3f5c635c38 Fixed Windows build 2012-07-17 22:10:49 -04:00
attilamolnar
0e8c46340c m_noctcp Fix /me not being allowed on +C channels
Fixes #260 reported by @JDowny
2012-07-17 05:06:54 +02:00
attilamolnar
73a4a37376 m_ssl_openssl Use the system default cipher list if no cipher list is specifed 2012-07-13 21:43:20 +02:00
Attila Molnar
74ee9af966 Merge pull request #230 from Robby-/insp20-openssl
[2.0] m_ssl_openssl: Show cipher used on connect and allow available ciphers to be customized.
2012-07-13 12:24:06 -07:00