]>
git.netwichtig.de Git - user/henk/code/inspircd.git/log
attilamolnar [Wed, 12 Sep 2012 23:15:44 +0000 (01:15 +0200)]
m_knock Add support for sending a 710 numeric when a KNOCK succeeds, add a config option to choose between behaviors
Fixes #287 reported by @ElementalAlchemist
Attila Molnar [Thu, 13 Sep 2012 15:32:18 +0000 (08:32 -0700)]
Merge pull request #301 from Adam-/insp20+bindrehash
Fix bug #291 - fix rehashing bind tags not changing them between servers/clients and ssl/nonssl
ChrisTX [Wed, 8 Aug 2012 22:03:33 +0000 (00:03 +0200)]
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
attilamolnar [Wed, 12 Sep 2012 23:53:42 +0000 (01:53 +0200)]
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
attilamolnar [Wed, 12 Sep 2012 23:01:05 +0000 (01:01 +0200)]
Don't allow banned users to NOTICE a channel when security:restrictbannedusers is on
Fixes #297 reported by @killerrabbit
Adam [Wed, 12 Sep 2012 20:56:47 +0000 (16:56 -0400)]
Fix bug #291 - fix rehashing bind tags not changing them between servers/clients and ssl/nonssl
Attila Molnar [Sun, 9 Sep 2012 18:32:27 +0000 (11:32 -0700)]
Merge pull request #296 from SaberUK/insp20-namespace-pollution
[2.0] Avoid global namespace pollution.
Peter Powell [Thu, 6 Sep 2012 14:38:24 +0000 (15:38 +0100)]
Avoid global namespace pollution.
attilamolnar [Sun, 2 Sep 2012 01:06:59 +0000 (03:06 +0200)]
m_svshold Broadcast SVSHOLD commands sent by servers without ADDLINE
Fixes #293 reported by @DrRenX
attilamolnar [Sun, 8 Jul 2012 13:07:58 +0000 (15:07 +0200)]
Remove unnecessary assignment in BanCacheManager::RemoveEntries
attilamolnar [Sun, 8 Jul 2012 12:53:33 +0000 (14:53 +0200)]
Remove unnecessary cleanup in XLineManager destructor
attilamolnar [Sun, 8 Jul 2012 12:49:18 +0000 (14:49 +0200)]
Remove unnecessary string copy in XLineManager::InvokeStats
attilamolnar [Fri, 24 Aug 2012 22:43:50 +0000 (00:43 +0200)]
m_knock Don't concatenate the knock reason, the command parser does it for us
attilamolnar [Fri, 24 Aug 2012 22:03:38 +0000 (00:03 +0200)]
Add a config option to enable/disable the welcome notice sent to clients after successful registration
Fixes #284 reported by @hoggeh
attilamolnar [Fri, 24 Aug 2012 22:09:00 +0000 (00:09 +0200)]
Remove reference to m_ziplinks from modules.conf.unreal and modules.conf.charybdis
Fixes #285 reported by @hoggeh
ChrisTX [Wed, 8 Aug 2012 21:43:07 +0000 (23:43 +0200)]
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
attilamolnar [Mon, 20 Aug 2012 14:47:24 +0000 (16:47 +0200)]
Change "allowmismatched" to "allowmismatch" in example config
Fixes issue #279 reported by @lethality
Attila Molnar [Tue, 14 Aug 2012 11:22:34 +0000 (04:22 -0700)]
Merge pull request #278 from SaberUK/insp20-fix-windows
Fix Windows build that was broken by
9b66dd6 .
Peter Powell [Tue, 14 Aug 2012 06:02:25 +0000 (07:02 +0100)]
Fix Windows build that was broken by
9b66dd6 .
Robin Burchell [Mon, 13 Aug 2012 08:08:35 +0000 (01:08 -0700)]
Merge pull request #251 from Shawn-Smith/insp20+extbanU
[2.0] Add ExtBan U to match only unregistered users
attilamolnar [Fri, 10 Aug 2012 15:02:04 +0000 (17:02 +0200)]
m_spanningtree Add missing aposthrope to connection failed server notice
ChrisTX [Wed, 8 Aug 2012 23:49:32 +0000 (01:49 +0200)]
m_spanningtree: Resolve issue #250
attilamolnar [Sun, 1 Jul 2012 20:07:47 +0000 (22:07 +0200)]
m_spanningtree Specify the uuid of the remote user when sending server NOTICE/PRIVMSG to him
attilamolnar [Sun, 1 Jul 2012 19:44:02 +0000 (21:44 +0200)]
m_spanningtree Handle ? wildcard as well when processing an incoming ENCAP
attilamolnar [Wed, 8 Aug 2012 12:07:09 +0000 (14:07 +0200)]
m_messageflood Unset +f when the module is unloaded
attilamolnar [Thu, 26 Jul 2012 20:00:02 +0000 (22:00 +0200)]
m_messageflood Make code more readable
Remove unnecessary checks
Use std::string::find() and ::substr() for finding the delimiter and splitting the parameter
attilamolnar [Wed, 4 Jul 2012 13:30:15 +0000 (15:30 +0200)]
m_messageflood Perform at most one std::map::find() per message if we aren't kicking the user
attilamolnar [Thu, 26 Jul 2012 19:45:37 +0000 (21:45 +0200)]
Remove sprintf from the two implementations of ModeHandler::RemoveMode
attilamolnar [Thu, 26 Jul 2012 23:04:24 +0000 (01:04 +0200)]
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()
Peter Powell [Wed, 11 Jul 2012 19:38:17 +0000 (20:38 +0100)]
Don't hard code the branch version.
attilamolnar [Thu, 26 Jul 2012 21:39:07 +0000 (23:39 +0200)]
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 )
attilamolnar [Thu, 12 Jul 2012 18:36:14 +0000 (20:36 +0200)]
Update example configs
Document m_chanhistory settings
Note that m_censor adds usermode +G as well
Add geoip /STATS G to helpop
Attila Molnar [Thu, 26 Jul 2012 15:54:57 +0000 (08:54 -0700)]
Merge pull request #267 from Shawn-Smith/insp20+versionsfix
[2.0] Removed version line references to other IRCds
Shawn Smith [Thu, 26 Jul 2012 15:49:45 +0000 (11:49 -0400)]
Updated version lines to be more descriptive and remove references to other IRCds
attilamolnar [Sun, 22 Jul 2012 12:42:38 +0000 (14:42 +0200)]
m_ssl_gnutls Allow setting the priorities to use on the ciphers, key exchange algorithms, compression methods and macs
attilamolnar [Wed, 25 Jul 2012 23:53:52 +0000 (01:53 +0200)]
m_hostchange No reason to prioritize after m_cloaking
attilamolnar [Wed, 25 Jul 2012 23:47:07 +0000 (01:47 +0200)]
m_hostchange Remove string copy
attilamolnar [Sun, 24 Jun 2012 16:00:24 +0000 (18:00 +0200)]
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
attilamolnar [Sun, 24 Jun 2012 16:44:47 +0000 (18:44 +0200)]
m_opermotd Add support for viewing opermotd on a remote server (as advertised)
attilamolnar [Sun, 24 Jun 2012 14:10:24 +0000 (16:10 +0200)]
m_uninvite Notify remote users properly
attilamolnar [Sun, 24 Jun 2012 16:37:25 +0000 (18:37 +0200)]
m_connflood Cleanup
attilamolnar [Sun, 8 Jul 2012 13:03:35 +0000 (15:03 +0200)]
Remove negative BanCache entries only when the AddLine is successful instead of removing them before checking anything
attilamolnar [Sat, 21 Jul 2012 11:28:05 +0000 (13:28 +0200)]
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
attilamolnar [Wed, 18 Jul 2012 11:34:08 +0000 (13:34 +0200)]
m_namesx Handle colons in channel names properly
Fixes #258 reported by @FxChiP
attilamolnar [Sat, 21 Jul 2012 13:49:04 +0000 (15:49 +0200)]
m_ssl_gnutls Compile with -Wno-deprecated-declarations
Fixes #246 reported by @SeLEct-
attilamolnar [Sat, 21 Jul 2012 12:16:07 +0000 (14:16 +0200)]
m_ssl_gnutls Advertise only one ssl port by default in ISUPPORT
Fixes #261 reported by @Shawn-Smith and others
attilamolnar [Thu, 19 Jul 2012 14:14:20 +0000 (16:14 +0200)]
m_ssl_gnutls Move common session initialization code into a function
attilamolnar [Thu, 19 Jul 2012 14:03:06 +0000 (16:03 +0200)]
m_ssl_gnutls Add a config option that can be used to set the value of the SSL token in ISUPPORT
Adam [Wed, 18 Jul 2012 02:10:49 +0000 (22:10 -0400)]
Fixed Windows build
attilamolnar [Tue, 17 Jul 2012 02:15:28 +0000 (04:15 +0200)]
m_noctcp Fix /me not being allowed on +C channels
Fixes #260 reported by @JDowny
attilamolnar [Fri, 13 Jul 2012 19:32:41 +0000 (21:32 +0200)]
m_ssl_openssl Use the system default cipher list if no cipher list is specifed
Attila Molnar [Fri, 13 Jul 2012 19:24:06 +0000 (12:24 -0700)]
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.
attilamolnar [Fri, 13 Jul 2012 15:38:01 +0000 (17:38 +0200)]
Release 2.0.8
Attila Molnar [Fri, 13 Jul 2012 15:32:54 +0000 (08:32 -0700)]
Merge pull request #249 from Shawn-Smith/insp20+simplemode
[2.0] Simplified the SimpleModeHandlers
attilamolnar [Wed, 4 Jul 2012 15:20:22 +0000 (17:20 +0200)]
m_services_account Simplify mode handlers
attilamolnar [Wed, 4 Jul 2012 15:13:41 +0000 (17:13 +0200)]
Use SimpleUserModeHandler/SimpleChannelModeHandler where possible
attilamolnar [Fri, 15 Jun 2012 01:26:47 +0000 (03:26 +0200)]
Use less memory when rehashing built-in hashmaps
attilamolnar [Thu, 5 Jul 2012 22:22:01 +0000 (00:22 +0200)]
m_blockamsg Remove redundant null pointer and IS_LOCAL() check
attilamolnar [Thu, 5 Jul 2012 01:25:25 +0000 (03:25 +0200)]
m_ident Fix casting User pointers to LocalUser pointers blindly
attilamolnar [Thu, 5 Jul 2012 01:04:41 +0000 (03:04 +0200)]
m_ident Close the socket and mark as done when received something instead of doing it in two places before returning
attilamolnar [Fri, 13 Jul 2012 13:09:30 +0000 (15:09 +0200)]
Move STATS handler back to cmd_stats so it's hotpatchable again
attilamolnar [Fri, 13 Jul 2012 15:17:06 +0000 (17:17 +0200)]
Revert m_xline_db Get the xlines from the core, don't maintain a seperate list (reverse-merged from commit
183b182b3d6c0c32f4d10e131a55adbf54b8be01 )
attilamolnar [Fri, 13 Jul 2012 13:10:25 +0000 (15:10 +0200)]
Change debug message in Invitation::Find() to output expiration time as a string to avoid warnings
attilamolnar [Thu, 12 Jul 2012 18:58:14 +0000 (20:58 +0200)]
m_chanhistory Read the boolean config entry with getBool()
attilamolnar [Thu, 12 Jul 2012 18:57:44 +0000 (20:57 +0200)]
m_halfop, m_chanhistory Remove redundant ModeParser::DelMode() calls, the modes are deleted automatically on unload
attilamolnar [Sat, 7 Jul 2012 18:00:13 +0000 (20:00 +0200)]
m_chanlog Use std::multimap::equal_range for iteratation instead of ::find and then checking each key after it
attilamolnar [Mon, 9 Jul 2012 16:06:08 +0000 (18:06 +0200)]
Close files opened with popen() with pclose() instead of fclose()
attilamolnar [Wed, 11 Jul 2012 13:18:10 +0000 (15:18 +0200)]
Fix allow_overlapped having the opposite effect in irc::portparser
attilamolnar [Wed, 11 Jul 2012 12:40:43 +0000 (14:40 +0200)]
Don't manage memory manually for the commasepstream in irc::portparser
attilamolnar [Mon, 9 Jul 2012 10:23:33 +0000 (12:23 +0200)]
Use std::set instead of std::map in irc::portparser
attilamolnar [Tue, 10 Jul 2012 22:45:22 +0000 (00:45 +0200)]
cmd_commands Don't show server only commands to users
Adam [Mon, 9 Jul 2012 05:53:07 +0000 (01:53 -0400)]
Fixed Windows build, int32_t is already defined in stdint.h.
Add GnuTLS support for Windows.
Made NSIS script include extra DLL files if supplied and
include the conf/aliases and conf/modules example configuration files.
Added make_gnutls_cert.bat to generate GnuTLS certificates on Windows.
Fixed typo in gnutlscert.pm.
attilamolnar [Thu, 5 Jul 2012 20:22:50 +0000 (22:22 +0200)]
m_spanningtree Add function to easily determine whether a server was introduced to the network, use it to determine when to send SQUIT
attilamolnar [Sat, 7 Jul 2012 11:56:02 +0000 (13:56 +0200)]
m_setname, m_chgname Unify notices and annoucements
Shawn Smith [Sat, 7 Jul 2012 17:20:18 +0000 (13:20 -0400)]
Added ExtBan U to match only Unregistered users
Enhancement requested in Issue #247
attilamolnar [Sat, 7 Jul 2012 14:36:57 +0000 (16:36 +0200)]
m_satopic Use WriteGlobalSno instead of writing the same thing with SNO->WriteToSnoMask and PI->SendSNONotice
attilamolnar [Thu, 5 Jul 2012 00:32:36 +0000 (02:32 +0200)]
m_lockserv Don't lock/unlock when already locked/unlocked, update messages
attilamolnar [Thu, 5 Jul 2012 00:33:43 +0000 (02:33 +0200)]
m_lockserv Remove obsolete comments and unnecessary string clear()s
attilamolnar [Thu, 5 Jul 2012 00:12:29 +0000 (02:12 +0200)]
m_shun Display shun target correctly in the error message when adding a new shun and it exists
attilamolnar [Sun, 1 Jul 2012 20:22:38 +0000 (22:22 +0200)]
m_mlock Remove unnecessary iteration
attilamolnar [Fri, 6 Jul 2012 00:53:40 +0000 (02:53 +0200)]
m_swhois Switch to OnPostOper hook instead of using OnPostCommand
attilamolnar [Fri, 6 Jul 2012 00:47:51 +0000 (02:47 +0200)]
m_stripcolor Removing a character from a string while iterating it is slightly less complicated
attilamolnar [Thu, 5 Jul 2012 01:40:31 +0000 (03:40 +0200)]
m_globops Don't concatenate, the command parser does it for us as maxparams for the command is 1
attilamolnar [Wed, 4 Jul 2012 13:44:38 +0000 (15:44 +0200)]
m_inviteexception Remove useless check
attilamolnar [Sun, 24 Jun 2012 14:05:35 +0000 (16:05 +0200)]
m_inviteexception Read invitebypasskey setting once and store it instead of reading it at every invite check
attilamolnar [Sat, 7 Jul 2012 11:40:30 +0000 (13:40 +0200)]
m_setname, m_chgname Disallow empty GECOS, spotted by @Robby-
attilamolnar [Fri, 6 Jul 2012 00:36:08 +0000 (02:36 +0200)]
m_ldapoper Say what the module actually does in the description
attilamolnar [Sat, 7 Jul 2012 11:08:02 +0000 (13:08 +0200)]
cmd_stats Remove unused preprocessor stuff (it has been living in stats.cpp for a while)
Shawn Smith [Sat, 7 Jul 2012 00:57:44 +0000 (20:57 -0400)]
Improved the SimpleModeHandlers
Attila Molnar [Fri, 6 Jul 2012 23:02:31 +0000 (16:02 -0700)]
Merge pull request #223 from Shawn-Smith/insp20+needmoreparams
[2.0] Fix to show ERR_NEEDMOREPARAMS for USERHOST and ISON
Shawn Smith [Sat, 23 Jun 2012 00:43:49 +0000 (20:43 -0400)]
Fix to show ERR_NEEDMOREPARAMS for cmd_userhost and cmd_ison
Attila Molnar [Fri, 6 Jul 2012 18:57:35 +0000 (11:57 -0700)]
Merge pull request #217 from Shawn-Smith/insp20+antiredirect
[2.0] Backported user mode +L from 2.1
Attila Molnar [Fri, 6 Jul 2012 18:43:15 +0000 (11:43 -0700)]
Merge pull request #248 from Shawn-Smith/insp20+descfix
[2.0] Updated some module version lines.
Shawn Smith [Fri, 6 Jul 2012 18:23:04 +0000 (14:23 -0400)]
Updated the version lines on several modules.
attilamolnar [Fri, 6 Jul 2012 18:25:21 +0000 (20:25 +0200)]
#include <stdint.h>, add header guard to extensible.h
Fixes #102 reported by @kshade
Shawn Smith [Wed, 20 Jun 2012 13:13:19 +0000 (09:13 -0400)]
Backported usermode +L from insp21. Stops forced redirection given by cmode +L
Attila Molnar [Fri, 6 Jul 2012 16:21:49 +0000 (09:21 -0700)]
Merge pull request #127 from Justasic/insp20+color
[2.0] Added processing of color codes into /rules
Justin Crawford [Wed, 16 May 2012 22:56:38 +0000 (15:56 -0700)]
Added color codes to /rules, moved the parsing to ServerConfig and cleaned the code up a bit
Attila Molnar [Thu, 5 Jul 2012 20:03:48 +0000 (13:03 -0700)]
Merge pull request #242 from SaberUK/insp20-doxygen-fix
[2.0] Doxygen fixes
Peter Powell [Thu, 5 Jul 2012 20:00:35 +0000 (21:00 +0100)]
Fix Doxygen syntax errors.