aboutsummaryrefslogtreecommitdiff
path: root/src/modules
Commit message (Collapse)AuthorAgeFilesLines
...
* m_filter Remove redundant flags field from FilterResultGravatar attilamolnar2012-10-191-14/+40
| | | | Change FillFlags() to return the character it did not understand, 0 if all ok
* m_filter Change exemptfromfilter to be a setGravatar attilamolnar2012-10-191-12/+13
|
* m_filter Use an enum for filter actions instead of a stringGravatar attilamolnar2012-10-191-30/+85
|
* m_filter Cleanup, remove empty and useless functionsGravatar attilamolnar2012-10-191-37/+9
|
* Fix for #268.Gravatar Peter Powell2012-10-192-32/+21
| | | | | - Move color stripping code to helperfuncs. - Strip color codes before matching filters.
* m_ident Allow the usage of an overriden IsIdent() instead of using a ↵Gravatar attilamolnar2012-10-181-28/+23
| | | | | | hardcoded version of it Fix long idents being accepted regardless of Limits.IdentMax
* m_ssl_gnutls: Resolve deprecation warnings properlyGravatar ChrisTX2012-10-141-4/+20
|
* m_chancreate Fix snonotices not being sent when remote users create channelsGravatar attilamolnar2012-10-131-9/+2
| | | | Fixes #318
* m_ssl_gnutls Cast pointer difference to an unsigned int before displaying itGravatar attilamolnar2012-10-131-1/+1
|
* Merge pull request #320 from ChrisTX/insp20+cleanupwinGravatar Adam2012-10-1214-25/+18
|\ | | | | Windows: In-depth cleanup (see details)
| * Windows: In-depth cleanup (see details)Gravatar ChrisTX2012-10-1214-25/+18
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | -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
* | Fix broken buildGravatar attilamolnar2012-10-121-0/+1
|/
* m_cgiirc, m_dnsbl Remove unnecessary includesGravatar attilamolnar2012-10-122-14/+0
|
* Remove superfluous std::string()sGravatar attilamolnar2012-10-1241-77/+77
|
* Compare the result of ldap_search_ext_s to LDAP_SUCCESS....Gravatar Adam2012-10-101-2/+2
|
* Allows to use user->ident string instead of user->nick for NickServ.Gravatar Boleslaw Tokarski2012-10-081-5/+10
|
* m_spanningtree Fix undefined behavior caused by referencing the returned ↵Gravatar attilamolnar2012-10-071-1/+2
| | | | buffer by std::string::c_str() when the object is temporary
* New module to support server-side topic locking and server-to-server ↵Gravatar attilamolnar2012-10-061-0/+179
| | | | | | | 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
* m_cban, m_rline, m_shun Broadcast these commands as some services ↵Gravatar attilamolnar2012-10-043-3/+3
| | | | implementations send them (even though they shouldn't)
* Replace hardcoded paths with configurable onesGravatar ChrisTX2012-10-043-11/+24
| | | | | | | | | | 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.
* Check if the mask is long enough before accessing it when checking extbansGravatar attilamolnar2012-10-036-6/+6
|
* m_services_account Fix possible recursion when checking 'U' extbansGravatar attilamolnar2012-10-031-1/+9
|
* m_spanningtree Fill a parameterlist in OnAddLine/OnDelLineGravatar attilamolnar2012-10-031-7/+8
|
* m_spanningtree Simplify OnMode and OnSetAway handlersGravatar attilamolnar2012-10-031-13/+5
|
* m_spanningtree Remove empty RedoConfig()Gravatar attilamolnar2012-10-032-5/+0
|
* m_spanningtree Utils: Remove unused functionsGravatar attilamolnar2012-10-032-31/+0
|
* m_spanningtree OPERTYPE handler: Return when finished processing instead of ↵Gravatar attilamolnar2012-10-031-8/+3
| | | | changing execution path with a flag
* m_spanningtree Remote WHOIS handler: Find target with FindNickOnly (don't ↵Gravatar attilamolnar2012-10-031-1/+1
| | | | accept uids, like in cmd_whois)
* m_spanningtree Netburst: Remove unused parameters and variablesGravatar attilamolnar2012-10-032-15/+15
|
* m_spanningtree Netburst: Prefix SERVER and VERSION lines with SIDs instead ↵Gravatar attilamolnar2012-10-031-4/+3
| | | | of server names
* m_spanningtree Netburst: Remove unnecessary variables from DoBurst()Gravatar attilamolnar2012-10-021-8/+5
|
* m_spanningtree Use iterators in CAPAB handler and when generating reply to ↵Gravatar attilamolnar2012-10-023-13/+12
| | | | spanningtree related /stats, use std::find() in TreeServer::DelChild()
* m_spanningtree Only allow uuids in SVSJOIN, METADATA and OPERQUITGravatar attilamolnar2012-10-024-5/+5
|
* m_spanningtree Return const references from several TreeServer getter functionsGravatar attilamolnar2012-09-302-6/+6
|
* Fix more undefined behavior caused by referencing the returned buffer by ↵Gravatar attilamolnar2012-09-3022-52/+96
| | | | | | std::string::c_str() when the object is temporary See 83c7cc45daf6fb1f8c36f15297a4657e45a34e88
* m_httpd Accept POST requests only when the value for Content-Length is ↵Gravatar attilamolnar2012-09-231-1/+1
| | | | greater than zero
* Fix undefined behavior caused by referencing the returned buffer by ↵Gravatar attilamolnar2012-09-234-5/+10
| | | | | | | std::string::c_str() when the object is temporary Thanks to @ChrisTX for pointing this out Fixes #257 reported by @helloall
* m_regex_stdlib: A regex provider for the C++11 container std::regexGravatar ChrisTX2012-09-221-0/+112
| | | | | | 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.
* m_blockamsg, m_sslinfo Don't convert the command name to irc::string in ↵Gravatar attilamolnar2012-09-132-8/+2
| | | | | | OnPreCommand() See 44e89aafb69fb266bdf780d12a31947bfff4e330
* m_shun Convert enabled commands to uppercase so they match correctly even if ↵Gravatar attilamolnar2012-09-131-0/+1
| | | | they're lowercase in the config
* Fixed crash in m_mysql if a module is unloaded while executingGravatar Adam2012-09-131-1/+1
| | | | a query and there is only one query in the queue to be executed.
* m_cgiirc Take actions after a successful WEBIRC in the OnCheckReady hook, ↵Gravatar attilamolnar2012-09-131-32/+28
| | | | stop using OnUserConnect
* m_cgiirc Register the "waiting" extensionGravatar attilamolnar2012-09-131-0/+1
|
* m_dnsbl Display <unknown> as the user's nick when annoucing the dnsbl result ↵Gravatar attilamolnar2012-09-131-1/+1
| | | | and the user has an empty nick
* m_dnsbl Switch to OnUserSetIP hookGravatar attilamolnar2012-09-131-2/+2
|
* m_knock Add support for sending a 710 numeric when a KNOCK succeeds, add a ↵Gravatar attilamolnar2012-09-131-3/+29
| | | | | | config option to choose between behaviors Fixes #287 reported by @ElementalAlchemist
* m_svshold Broadcast SVSHOLD commands sent by servers without ADDLINEGravatar attilamolnar2012-09-021-1/+1
| | | | Fixes #293 reported by @DrRenX
* m_knock Don't concatenate the knock reason, the command parser does it for usGravatar attilamolnar2012-08-251-10/+2
|
* listensocket: Fix the two aliasing warningsGravatar ChrisTX2012-08-201-3/+5
| | | | | | | 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
* Merge pull request #251 from Shawn-Smith/insp20+extbanUGravatar Robin Burchell2012-08-131-4/+24
|\ | | | | [2.0] Add ExtBan U to match only unregistered users