]> git.netwichtig.de Git - user/henk/code/inspircd.git/log
user/henk/code/inspircd.git
11 years agoMerge pull request #338 from ChrisTX/insp20+iostream
Attila Molnar [Sun, 14 Oct 2012 19:40:52 +0000 (12:40 -0700)]
Merge pull request #338 from ChrisTX/insp20+iostream

Replace printf(_c) with iostream

11 years agoReplace printf(_c) with iostream
ChrisTX [Sun, 14 Oct 2012 00:13:49 +0000 (02:13 +0200)]
Replace printf(_c) with iostream

11 years agoRemove IncreaseOSBuffers() completely
attilamolnar [Sat, 13 Oct 2012 23:38:10 +0000 (01:38 +0200)]
Remove IncreaseOSBuffers() completely

11 years agom_chancreate Fix snonotices not being sent when remote users create channels
attilamolnar [Fri, 12 Oct 2012 02:31:01 +0000 (04:31 +0200)]
m_chancreate Fix snonotices not being sent when remote users create channels
Fixes #318

11 years agoRemove no-op call to IncreaseOSBuffers() from BufferedSocket::BeginConnect()
attilamolnar [Sat, 13 Oct 2012 14:00:20 +0000 (16:00 +0200)]
Remove no-op call to IncreaseOSBuffers() from BufferedSocket::BeginConnect()

11 years agom_ssl_gnutls Cast pointer difference to an unsigned int before displaying it
attilamolnar [Fri, 12 Oct 2012 14:29:52 +0000 (16:29 +0200)]
m_ssl_gnutls Cast pointer difference to an unsigned int before displaying it

11 years agoMerge pull request #320 from ChrisTX/insp20+cleanupwin
Adam [Fri, 12 Oct 2012 21:50:05 +0000 (14:50 -0700)]
Merge pull request #320 from ChrisTX/insp20+cleanupwin

Windows: In-depth cleanup (see details)

11 years agoFix broken build
attilamolnar [Fri, 12 Oct 2012 21:08:44 +0000 (23:08 +0200)]
Fix broken build

11 years agoWindows: In-depth cleanup (see details)
ChrisTX [Fri, 12 Oct 2012 20:31:38 +0000 (22:31 +0200)]
Windows: In-depth cleanup (see details)
-Fix x64 builds for Windows. Now all configurations compile.
-Remove the non-working rebase stuff.
-Remove the Windows fork hack and instead use FreeConsole() to emulate the behavior. This directly allows us to compile with ASLR, which is turned on now.
-Remove the old IPC mechanism for the removed GUI. This is not needed anymore as the GUI wasn't ever supported on anything newer than 1.2
-Remove the WIN32/WINDOWS macros. _WIN32 is supported on all x86-based VC++ targets, so that's what we need.
-Enable optimizations for release builds.
-De-duplicate printf_c(), it was previously copy-pasted into colors.h for configure
-Add the VC++ specific bad files in .gitignore
-Disable PID writing on Windows. This is only making sense for *nix builds.
-Replace the CPU usage retrieval with an algorithm analogous to the *nix behavior. Also supports separated now/total values. (Tested with a dummy busy loop - seems working)
-Removed certain unused functions and variables
-Remove stdint defines from the windows wrapper
-Remove CRT debug alloc. This is a bad idea as it would define a macro to replace free which breaks builds.
-Re-evaluated the warnings list, commented it.
-Moved inspircd_config/_version to include/ to match *nix
-Removed the creation of inspircd_se_config, as it isn't used at all.
-Made non-git builds show as "r0" instead of "r" (thanks to @SaberUK for pointing this out)
-Fixed up m_spanningtree's project paths. Now all configurations (debug/release x86/x64) have been tested and build properly.
-Moved FindDNS out of the wrapper and matched its log behavior with *nix. (It's pointless having it in the wrapper after the recent slimming down)
-Replaced random/srandom wrappers with a mechanism that tries to use Windows' Random API first is no SSL module is loaded.
-Removed more old junk from support for compilers older than VC++ 2010 (we don't have project files for these, so compiling them would be hard anyways)
-Removed the unused ClearConsole()
-Removed unused includes from the wrapper. Also, do not include psapi.h here if we don't link psapi.lib. This should be done where appropriate.
-Made inet_aton an inline function for increased performance
-C4800, performance warning about bool forcing, resolved at all occurrences.
-C4701, uninitialized variable 'cached', resolved at all occurrences.
-dlerror() was migrated out of the wrapper for more thread safety (no global buffer being shared) and increased performance.
-Removed the wrong CRT debug flags. This drains a lot of performance.
-Removed the clock_gettime/gettimeofday wrappers
-Replaced all TCHAR/ANSI mix-ups of functions with the correct respective function.
-Added a block of C4355 for < VS2012
-Update project files for c870714

11 years agom_cgiirc, m_dnsbl Remove unnecessary includes
attilamolnar [Fri, 12 Oct 2012 16:51:53 +0000 (18:51 +0200)]
m_cgiirc, m_dnsbl Remove unnecessary includes

11 years agoRemove superfluous std::string()s
attilamolnar [Tue, 24 Jul 2012 12:54:29 +0000 (14:54 +0200)]
Remove superfluous std::string()s

11 years agoFix unregistered users getting global notices, also fix certain commands working...
attilamolnar [Wed, 10 Oct 2012 00:15:40 +0000 (02:15 +0200)]
Fix unregistered users getting global notices, also fix certain commands working on unregistered users, spotted by @Adam-

11 years agoAdd myself to the Other Contributors list
Adam [Fri, 12 Oct 2012 01:15:00 +0000 (21:15 -0400)]
Add myself to the Other Contributors list

11 years agoCompare the result of ldap_search_ext_s to LDAP_SUCCESS....
Adam [Thu, 11 Oct 2012 01:32:11 +0000 (21:32 -0400)]
Compare the result of ldap_search_ext_s to LDAP_SUCCESS....

11 years agoMove simple user and channel mode handlers into a single file
attilamolnar [Sun, 7 Oct 2012 16:14:22 +0000 (18:14 +0200)]
Move simple user and channel mode handlers into a single file

11 years agoUpdate modules.conf.example with m_ircv3
attilamolnar [Mon, 8 Oct 2012 14:47:12 +0000 (16:47 +0200)]
Update modules.conf.example with m_ircv3

11 years agoMerge pull request #321 from ballock/insp20
Attila Molnar [Mon, 8 Oct 2012 14:42:31 +0000 (07:42 -0700)]
Merge pull request #321 from ballock/insp20

Allows to use user->ident string instead of user->nick for NickServ.

11 years agoAllows to use user->ident string instead of user->nick for NickServ.
Boleslaw Tokarski [Mon, 8 Oct 2012 13:09:09 +0000 (15:09 +0200)]
Allows to use user->ident string instead of user->nick for NickServ.

11 years agoRelease 2.0.9
attilamolnar [Sat, 6 Oct 2012 22:29:07 +0000 (00:29 +0200)]
Release 2.0.9

11 years agoFix c2f7fc047c2e5bbb899c820590ce07fee593b28f
Adam [Sat, 6 Oct 2012 22:25:58 +0000 (18:25 -0400)]
Fix c2f7fc047c2e5bbb899c820590ce07fee593b28f

11 years agoUpdate modules.conf.example with m_topiclock
attilamolnar [Sat, 6 Oct 2012 22:12:29 +0000 (00:12 +0200)]
Update modules.conf.example with m_topiclock

11 years agom_spanningtree Fix undefined behavior caused by referencing the returned buffer by...
attilamolnar [Sat, 6 Oct 2012 21:49:47 +0000 (23:49 +0200)]
m_spanningtree Fix undefined behavior caused by referencing the returned buffer by std::string::c_str() when the object is temporary

11 years agoNew module to support server-side topic locking and server-to-server SVSTOPIC command
attilamolnar [Wed, 3 Oct 2012 13:48:40 +0000 (15:48 +0200)]
New module to support server-side topic locking and server-to-server SVSTOPIC command
SVSTOPIC can either set the topic, the topic setter and the topic timestamp to the given parameters or can nuke the topic entirely on a channel (like it was never set)
It is for ulines only

11 years agoUpdate .gitignore
attilamolnar [Sat, 6 Oct 2012 12:26:22 +0000 (14:26 +0200)]
Update .gitignore

11 years agoMerge pull request #317 from ChrisTX/insp20+fixwinbuild
Attila Molnar [Fri, 5 Oct 2012 12:39:36 +0000 (05:39 -0700)]
Merge pull request #317 from ChrisTX/insp20+fixwinbuild

Windows: Fix broken build

11 years agoWindows: Fix broken build
ChrisTX [Fri, 5 Oct 2012 11:14:53 +0000 (13:14 +0200)]
Windows: Fix broken build
Resolves a mistake made in c2f7fc047c2e5bbb899c820590ce07fee593b28f

11 years agom_cban, m_rline, m_shun Broadcast these commands as some services implementations...
attilamolnar [Thu, 4 Oct 2012 21:45:51 +0000 (23:45 +0200)]
m_cban, m_rline, m_shun Broadcast these commands as some services implementations send them (even though they shouldn't)

11 years agoMerge pull request #314 from ChrisTX/insp20+DnsQueryConfig
Adam [Thu, 4 Oct 2012 21:12:30 +0000 (14:12 -0700)]
Merge pull request #314 from ChrisTX/insp20+DnsQueryConfig

Windows: Replace the old DNS server find mechanism with the proper one, the appropriate API

11 years agoWindows: Remove modules.conf.charybdis and modules.conf.unreal with the uninstaller
attilamolnar [Thu, 4 Oct 2012 14:15:34 +0000 (16:15 +0200)]
Windows: Remove modules.conf.charybdis and modules.conf.unreal with the uninstaller

11 years agoReplace hardcoded paths with configurable ones
ChrisTX [Sun, 23 Sep 2012 10:30:30 +0000 (12:30 +0200)]
Replace hardcoded paths with configurable ones

This patchset aims to ease the packaging of InspIRCd for a system-wide installation scenario.

Changes in detail:
configure: Add the options --log-path and --data-path
m_ssl_gnutls, openssl: Change the hardcoded "conf/" to the existent CONFIG_PATH macro
m_xline_db: Make the location of xline.db configurable. It will use --data-path as default value, but this can be
changed using the configuration files.

11 years agoWindows: Use the WinAPI for DNS server retrieval
ChrisTX [Thu, 4 Oct 2012 11:49:34 +0000 (13:49 +0200)]
Windows: Use the WinAPI for DNS server retrieval

11 years agoMerge pull request #313 from ChrisTX/insp20+explicittemps
Adam [Thu, 4 Oct 2012 06:59:56 +0000 (23:59 -0700)]
Merge pull request #313 from ChrisTX/insp20+explicittemps

Windows: Replace the unused function hack with explicit instantiation

11 years agoWindows: Replace the unused function hack with explicit instantiation
ChrisTX [Thu, 4 Oct 2012 06:31:38 +0000 (08:31 +0200)]
Windows: Replace the unused function hack with explicit instantiation

11 years agoFix (d)host starting with ':' for some IPv6 clients
attilamolnar [Wed, 3 Oct 2012 17:53:46 +0000 (19:53 +0200)]
Fix (d)host starting with ':' for some IPv6 clients

11 years agoChange User::SetClientIP() to be virtual
attilamolnar [Wed, 3 Oct 2012 02:38:11 +0000 (04:38 +0200)]
Change User::SetClientIP() to be virtual

11 years agoCheck if the mask is long enough before accessing it when checking extbans
attilamolnar [Wed, 3 Oct 2012 00:50:20 +0000 (02:50 +0200)]
Check if the mask is long enough before accessing it when checking extbans

11 years agom_services_account Fix possible recursion when checking 'U' extbans
attilamolnar [Wed, 3 Oct 2012 00:37:05 +0000 (02:37 +0200)]
m_services_account Fix possible recursion when checking 'U' extbans

11 years agom_spanningtree Fill a parameterlist in OnAddLine/OnDelLine
attilamolnar [Wed, 4 Jul 2012 21:27:03 +0000 (23:27 +0200)]
m_spanningtree Fill a parameterlist in OnAddLine/OnDelLine

11 years agom_spanningtree Simplify OnMode and OnSetAway handlers
attilamolnar [Wed, 4 Jul 2012 21:20:41 +0000 (23:20 +0200)]
m_spanningtree Simplify OnMode and OnSetAway handlers

11 years agom_spanningtree Remove empty RedoConfig()
attilamolnar [Wed, 4 Jul 2012 21:19:39 +0000 (23:19 +0200)]
m_spanningtree Remove empty RedoConfig()

11 years agom_spanningtree Utils: Remove unused functions
attilamolnar [Wed, 4 Jul 2012 20:50:45 +0000 (22:50 +0200)]
m_spanningtree Utils: Remove unused functions

11 years agom_spanningtree OPERTYPE handler: Return when finished processing instead of changing...
attilamolnar [Wed, 4 Jul 2012 19:19:49 +0000 (21:19 +0200)]
m_spanningtree OPERTYPE handler: Return when finished processing instead of changing execution path with a flag

11 years agom_spanningtree Remote WHOIS handler: Find target with FindNickOnly (don't accept...
attilamolnar [Tue, 24 Jul 2012 14:18:34 +0000 (16:18 +0200)]
m_spanningtree Remote WHOIS handler: Find target with FindNickOnly (don't accept uids, like in cmd_whois)

11 years agom_spanningtree Netburst: Remove unused parameters and variables
attilamolnar [Wed, 4 Jul 2012 18:44:38 +0000 (20:44 +0200)]
m_spanningtree Netburst: Remove unused parameters and variables

11 years agom_spanningtree Netburst: Prefix SERVER and VERSION lines with SIDs instead of server...
attilamolnar [Wed, 4 Jul 2012 18:34:51 +0000 (20:34 +0200)]
m_spanningtree Netburst: Prefix SERVER and VERSION lines with SIDs instead of server names

11 years agom_spanningtree Netburst: Remove unnecessary variables from DoBurst()
attilamolnar [Wed, 4 Jul 2012 18:33:24 +0000 (20:33 +0200)]
m_spanningtree Netburst: Remove unnecessary variables from DoBurst()

11 years agom_spanningtree Use iterators in CAPAB handler and when generating reply to spanningtr...
attilamolnar [Wed, 4 Jul 2012 18:26:24 +0000 (20:26 +0200)]
m_spanningtree Use iterators in CAPAB handler and when generating reply to spanningtree related /stats, use std::find() in TreeServer::DelChild()

11 years agom_spanningtree Only allow uuids in SVSJOIN, METADATA and OPERQUIT
attilamolnar [Wed, 4 Jul 2012 18:25:41 +0000 (20:25 +0200)]
m_spanningtree Only allow uuids in SVSJOIN, METADATA and OPERQUIT

11 years agom_spanningtree Return const references from several TreeServer getter functions
attilamolnar [Sun, 30 Sep 2012 00:47:10 +0000 (02:47 +0200)]
m_spanningtree Return const references from several TreeServer getter functions

11 years agoMake ConfigReader::GetSID() return a const reference to a string instead of a string
attilamolnar [Sat, 29 Sep 2012 23:26:06 +0000 (01:26 +0200)]
Make ConfigReader::GetSID() return a const reference to a string instead of a string

11 years agoFix more undefined behavior caused by referencing the returned buffer by std::string...
attilamolnar [Sat, 29 Sep 2012 23:10:57 +0000 (01:10 +0200)]
Fix more undefined behavior caused by referencing the returned buffer by std::string::c_str() when the object is temporary

See 83c7cc45daf6fb1f8c36f15297a4657e45a34e88

11 years agoFixed issue #303 - fixed Windows build
Adam [Sat, 29 Sep 2012 01:27:38 +0000 (21:27 -0400)]
Fixed issue #303 - fixed Windows build

11 years agom_httpd Accept POST requests only when the value for Content-Length is greater than...
attilamolnar [Sun, 23 Sep 2012 01:18:45 +0000 (03:18 +0200)]
m_httpd Accept POST requests only when the value for Content-Length is greater than zero

11 years agoFix undefined behavior caused by referencing the returned buffer by std::string:...
attilamolnar [Sun, 23 Sep 2012 00:51:16 +0000 (02:51 +0200)]
Fix undefined behavior caused by referencing the returned buffer by std::string::c_str() when the object is temporary
Thanks to @ChrisTX for pointing this out
Fixes #257 reported by @helloall

11 years agoMerge pull request #308 from SaberUK/insp20-fingerprint
Attila Molnar [Sun, 23 Sep 2012 00:43:08 +0000 (17:43 -0700)]
Merge pull request #308 from SaberUK/insp20-fingerprint

[2.0] Remove references to removed FINGERPRINT command.

11 years agoRemove references to removed FINGERPRINT command.
Peter Powell [Sat, 22 Sep 2012 21:26:30 +0000 (22:26 +0100)]
Remove references to removed FINGERPRINT command.

11 years agoInstruct users to verify that std::regex is supported on their setup before using...
attilamolnar [Sat, 22 Sep 2012 14:00:50 +0000 (16:00 +0200)]
Instruct users to verify that std::regex is supported on their setup before using m_regex_stdlib

11 years agom_regex_stdlib: A regex provider for the C++11 container std::regex
ChrisTX [Sat, 22 Sep 2012 04:11:43 +0000 (06:11 +0200)]
m_regex_stdlib: A regex provider for the C++11 container std::regex

For it to work you need a standards compliant implementation as for
instance Visual C++ 2010 and 2012 deliver. GCC's libstdc++ does not
implement this class yet.

11 years agom_blockamsg, m_sslinfo Don't convert the command name to irc::string in OnPreCommand()
attilamolnar [Thu, 13 Sep 2012 18:32:39 +0000 (20:32 +0200)]
m_blockamsg, m_sslinfo Don't convert the command name to irc::string in OnPreCommand()

See 44e89aafb69fb266bdf780d12a31947bfff4e330

11 years agom_shun Convert enabled commands to uppercase so they match correctly even if they...
attilamolnar [Thu, 13 Sep 2012 18:25:41 +0000 (20:25 +0200)]
m_shun Convert enabled commands to uppercase so they match correctly even if they're lowercase in the config

11 years agoFixed crash in m_mysql if a module is unloaded while executing
Adam [Thu, 13 Sep 2012 17:50:25 +0000 (13:50 -0400)]
Fixed crash in m_mysql if a module is unloaded while executing
a query and there is only one query in the queue to be executed.

11 years agom_cgiirc Take actions after a successful WEBIRC in the OnCheckReady hook, stop using...
attilamolnar [Sun, 22 Jul 2012 18:08:47 +0000 (20:08 +0200)]
m_cgiirc Take actions after a successful WEBIRC in the OnCheckReady hook, stop using OnUserConnect

11 years agom_cgiirc Register the "waiting" extension
attilamolnar [Sun, 22 Jul 2012 18:07:56 +0000 (20:07 +0200)]
m_cgiirc Register the "waiting" extension

11 years agom_dnsbl Display <unknown> as the user's nick when annoucing the dnsbl result and...
attilamolnar [Mon, 9 Jul 2012 14:09:38 +0000 (16:09 +0200)]
m_dnsbl Display <unknown> as the user's nick when annoucing the dnsbl result and the user has an empty nick

11 years agom_dnsbl Switch to OnUserSetIP hook
attilamolnar [Mon, 9 Jul 2012 13:54:37 +0000 (15:54 +0200)]
m_dnsbl Switch to OnUserSetIP hook

11 years agoCall OnUserSetIP() whenever the IP of a local user changes, set ident,host,dhost...
attilamolnar [Mon, 9 Jul 2012 13:35:12 +0000 (15:35 +0200)]
Call OnUserSetIP() whenever the IP of a local user changes, set ident,host,dhost in LocalUser constructor

11 years agoNew OnUserSetIP() hook
attilamolnar [Mon, 9 Jul 2012 13:34:44 +0000 (15:34 +0200)]
New OnUserSetIP() hook

11 years agom_knock Add support for sending a 710 numeric when a KNOCK succeeds, add a config...
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

11 years agoMerge pull request #301 from Adam-/insp20+bindrehash
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

11 years agoconfigreader: Replace ConfValue here with a ConfigTagList enumeration, as it isn...
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

11 years agoSet errno to EINPROGRESS on Windows when the connect() call does not complete immedia...
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

11 years agoDon't allow banned users to NOTICE a channel when security:restrictbannedusers is on
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

11 years agoFix bug #291 - fix rehashing bind tags not changing them between servers/clients...
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

11 years agoMerge pull request #296 from SaberUK/insp20-namespace-pollution
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.

11 years agoAvoid global namespace pollution.
Peter Powell [Thu, 6 Sep 2012 14:38:24 +0000 (15:38 +0100)]
Avoid global namespace pollution.

11 years agom_svshold Broadcast SVSHOLD commands sent by servers without ADDLINE
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

11 years agoRemove unnecessary assignment in BanCacheManager::RemoveEntries
attilamolnar [Sun, 8 Jul 2012 13:07:58 +0000 (15:07 +0200)]
Remove unnecessary assignment in BanCacheManager::RemoveEntries

11 years agoRemove unnecessary cleanup in XLineManager destructor
attilamolnar [Sun, 8 Jul 2012 12:53:33 +0000 (14:53 +0200)]
Remove unnecessary cleanup in XLineManager destructor

11 years agoRemove unnecessary string copy in XLineManager::InvokeStats
attilamolnar [Sun, 8 Jul 2012 12:49:18 +0000 (14:49 +0200)]
Remove unnecessary string copy in XLineManager::InvokeStats

11 years agom_knock Don't concatenate the knock reason, the command parser does it for us
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

11 years agoAdd a config option to enable/disable the welcome notice sent to clients after succes...
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

11 years agoRemove reference to m_ziplinks from modules.conf.unreal and modules.conf.charybdis
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

11 years agolistensocket: Fix the two aliasing warnings
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

11 years agoChange "allowmismatched" to "allowmismatch" in example config
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

11 years agoMerge pull request #278 from SaberUK/insp20-fix-windows
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.

11 years agoFix 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.

11 years agoMerge pull request #251 from Shawn-Smith/insp20+extbanU
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

11 years agom_spanningtree Add missing aposthrope to connection failed server notice
attilamolnar [Fri, 10 Aug 2012 15:02:04 +0000 (17:02 +0200)]
m_spanningtree Add missing aposthrope to connection failed server notice

11 years agom_spanningtree: Resolve issue #250
ChrisTX [Wed, 8 Aug 2012 23:49:32 +0000 (01:49 +0200)]
m_spanningtree: Resolve issue #250

11 years agom_spanningtree Specify the uuid of the remote user when sending server NOTICE/PRIVMSG...
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

11 years agom_spanningtree Handle ? wildcard as well when processing an incoming ENCAP
attilamolnar [Sun, 1 Jul 2012 19:44:02 +0000 (21:44 +0200)]
m_spanningtree Handle ? wildcard as well when processing an incoming ENCAP

11 years agom_messageflood Unset +f when the module is unloaded
attilamolnar [Wed, 8 Aug 2012 12:07:09 +0000 (14:07 +0200)]
m_messageflood Unset +f when the module is unloaded

11 years agom_messageflood Make code more readable
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

11 years agom_messageflood Perform at most one std::map::find() per message if we aren't kicking...
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

11 years agoRemove sprintf from the two implementations of ModeHandler::RemoveMode
attilamolnar [Thu, 26 Jul 2012 19:45:37 +0000 (21:45 +0200)]
Remove sprintf from the two implementations of ModeHandler::RemoveMode

11 years agom_namesx, m_uhnames Don't convert the command name to irc::string in OnPreCommand()
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()

11 years agoDon't hard code the branch version.
Peter Powell [Wed, 11 Jul 2012 19:38:17 +0000 (20:38 +0100)]
Don't hard code the branch version.

11 years agom_ssl_openssl Port ISUPPORT changes from m_ssl_gnutls to fix #261
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)

11 years agoUpdate example configs
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

11 years agoMerge pull request #267 from Shawn-Smith/insp20+versionsfix
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