]> git.netwichtig.de Git - user/henk/code/inspircd.git/log
user/henk/code/inspircd.git
11 years agom_operlog Add tosnomask config option, to log all oper actions to snomask 'r'
attilamolnar [Fri, 12 Oct 2012 21:32:35 +0000 (23:32 +0200)]
m_operlog Add tosnomask config option, to log all oper actions to snomask 'r'
If enabled, the commands can be logged to channels with m_chanlog and also other +s +r opers can see them
Fixes #325 reported by @SeLEct-

11 years agoFix warnings in configreader.cpp on FreeBSD
attilamolnar [Sun, 28 Oct 2012 13:54:39 +0000 (14:54 +0100)]
Fix warnings in configreader.cpp on FreeBSD
Fixes #348 reported by @netkurd

11 years agoIssue #346 - fix m_permchannels.cpp and m_xline_db.cpp saving their databases on...
Adam [Sat, 27 Oct 2012 13:09:33 +0000 (09:09 -0400)]
Issue #346 - fix m_permchannels.cpp and m_xline_db.cpp saving their databases on Windows due to rename() failing if the destination file exists

11 years agoFix configure system loading cache file too late.
Peter Powell [Wed, 24 Oct 2012 16:18:54 +0000 (17:18 +0100)]
Fix configure system loading cache file too late.

11 years agom_ojoin Fix giving +Y only instead of +Yo when <ojoin:op> is on and the user is alrea...
attilamolnar [Thu, 26 Jul 2012 15:52:13 +0000 (17:52 +0200)]
m_ojoin Fix giving +Y only instead of +Yo when <ojoin:op> is on and the user is already in the channel

11 years agom_ircv3 Attach to OnRehash
attilamolnar [Tue, 23 Oct 2012 20:08:53 +0000 (22:08 +0200)]
m_ircv3 Attach to OnRehash

11 years agom_ircv3 Fix away-notify not sending AWAY messages when somebody joins who is away
attilamolnar [Mon, 22 Oct 2012 16:14:37 +0000 (18:14 +0200)]
m_ircv3 Fix away-notify not sending AWAY messages when somebody joins who is away

11 years agom_nicklock Fix typo
attilamolnar [Tue, 23 Oct 2012 14:16:34 +0000 (16:16 +0200)]
m_nicklock Fix typo

11 years agom_topiclock Prefix ModDesc with $
attilamolnar [Tue, 23 Oct 2012 14:12:32 +0000 (16:12 +0200)]
m_topiclock Prefix ModDesc with $

11 years agom_nickflood Fix a case when channels were locked regardless of elapsed time since...
attilamolnar [Sun, 21 Oct 2012 15:25:17 +0000 (17:25 +0200)]
m_nickflood Fix a case when channels were locked regardless of elapsed time since the last nick change
Fixes #330 reported by @Shawn-Smith

11 years agom_nickflood Make code more readable, unset +F when the module is unloaded
attilamolnar [Sun, 21 Oct 2012 15:06:25 +0000 (17:06 +0200)]
m_nickflood Make code more readable, unset +F when the module is unloaded
See 21c3232b8e0bb41727f2d65a0b2d5304587cf6be and fae560cddc389b88c9cd34afdccf9035f4d11c5b

11 years agoFix /RESTART not closing file descriptors
attilamolnar [Sun, 21 Oct 2012 14:47:16 +0000 (16:47 +0200)]
Fix /RESTART not closing file descriptors
Fixes issue #262 reported by @MistrX

11 years agoMake better use of User::GetFullRealHost()
attilamolnar [Sun, 21 Oct 2012 13:10:44 +0000 (15:10 +0200)]
Make better use of User::GetFullRealHost()

11 years agoFix KILL accepting SIDs, get rid of potentially unsafe snprintf and strlcpy
attilamolnar [Wed, 17 Oct 2012 15:13:20 +0000 (17:13 +0200)]
Fix KILL accepting SIDs, get rid of potentially unsafe snprintf and strlcpy

11 years agom_ldapauth Allow filtering on arbitrary LDAP attributes
Adrien Bustany [Wed, 10 Oct 2012 07:04:18 +0000 (10:04 +0300)]
m_ldapauth Allow filtering on arbitrary LDAP attributes

This commit implements filtering on LDAP attributes, in a similar way
to what Apache Httpd does with "Require ldap-attribute".

11 years agom_filter More cleanup and optimizations
attilamolnar [Fri, 19 Oct 2012 17:41:52 +0000 (19:41 +0200)]
m_filter More cleanup and optimizations
Fix a typo

11 years agom_filter Don't move the filter to the beginning of the vector when a match occurs
attilamolnar [Fri, 19 Oct 2012 17:19:46 +0000 (19:19 +0200)]
m_filter Don't move the filter to the beginning of the vector when a match occurs

11 years agom_filter Remove redundant flags field from FilterResult
attilamolnar [Fri, 19 Oct 2012 16:58:30 +0000 (18:58 +0200)]
m_filter Remove redundant flags field from FilterResult
Change FillFlags() to return the character it did not understand, 0 if all ok

11 years agom_filter Change exemptfromfilter to be a set
attilamolnar [Fri, 19 Oct 2012 16:42:52 +0000 (18:42 +0200)]
m_filter Change exemptfromfilter to be a set

11 years agom_filter Use an enum for filter actions instead of a string
attilamolnar [Fri, 19 Oct 2012 16:20:26 +0000 (18:20 +0200)]
m_filter Use an enum for filter actions instead of a string

11 years agom_filter Cleanup, remove empty and useless functions
attilamolnar [Thu, 13 Sep 2012 18:05:17 +0000 (20:05 +0200)]
m_filter Cleanup, remove empty and useless functions

11 years agoFix for #268.
Peter Powell [Wed, 12 Sep 2012 15:27:59 +0000 (16:27 +0100)]
Fix for #268.

- Move color stripping code to helperfuncs.
- Strip color codes before matching filters.

11 years agom_ident Allow the usage of an overriden IsIdent() instead of using a hardcoded versio...
attilamolnar [Thu, 5 Jul 2012 01:23:23 +0000 (03:23 +0200)]
m_ident Allow the usage of an overriden IsIdent() instead of using a hardcoded version of it
Fix long idents being accepted regardless of Limits.IdentMax

11 years agoMerge pull request #340 from ChrisTX/insp20+clangwarningsfix
Attila Molnar [Sun, 14 Oct 2012 22:04:43 +0000 (15:04 -0700)]
Merge pull request #340 from ChrisTX/insp20+clangwarningsfix

Resolve two warnings clang complains about

11 years agoResolve two warnings clang complains about
ChrisTX [Sun, 14 Oct 2012 21:58:20 +0000 (23:58 +0200)]
Resolve two warnings clang complains about
No newline at end of file in consolecolors.h
String plus int in snomasks

11 years agoMerge pull request #274 from ChrisTX/insp20+gnutlsdeprecation
Attila Molnar [Sun, 14 Oct 2012 20:39:54 +0000 (13:39 -0700)]
Merge pull request #274 from ChrisTX/insp20+gnutlsdeprecation

m_ssl_gnutls: Resolve deprecation warnings properly

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 agom_ssl_gnutls: Resolve deprecation warnings properly
ChrisTX [Sun, 14 Oct 2012 02:03:35 +0000 (04:03 +0200)]
m_ssl_gnutls: Resolve deprecation warnings properly

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