summaryrefslogtreecommitdiff
path: root/src/modules
AgeCommit message (Collapse)Author
2012-11-09m_spanningtree SVSNICK needs 3 parametersattilamolnar
2012-11-09m_spanningtree Refuse bogus NICK messagesattilamolnar
If the new nick looks like an uid verify that its the correct uid
2012-11-09m_ssl_gnutls, m_ssl_openssl Set error message for the socket to "Connection ↵attilamolnar
closed" whenever the ssl connection is closed
2012-11-09m_ssl_openssl Remove unused variablesattilamolnar
2012-11-09wrong order of arguments to Host()Steven Van Acker
2012-11-09use documented "value" attribute instead of undocumented "newhost"Steven Van Acker
2012-11-08Fix m_ssl_gnutls when using non-standard include/lib paths.Peter Powell
This fixes #315.
2012-11-07Fix typo in m_filter.Peter Powell
2012-10-29m_opermotd Add support for replacing \u \b etc. with color codesattilamolnar
Fixes #322 reported by @MistrX
2012-10-28m_operlog Add tosnomask config option, to log all oper actions to snomask 'r'attilamolnar
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-
2012-10-27Issue #346 - fix m_permchannels.cpp and m_xline_db.cpp saving their ↵Adam
databases on Windows due to rename() failing if the destination file exists
2012-10-24m_ojoin Fix giving +Y only instead of +Yo when <ojoin:op> is on and the user ↵attilamolnar
is already in the channel
2012-10-23m_ircv3 Attach to OnRehashattilamolnar
2012-10-23m_ircv3 Fix away-notify not sending AWAY messages when somebody joins who is ↵attilamolnar
away
2012-10-23m_nicklock Fix typoattilamolnar
2012-10-23m_topiclock Prefix ModDesc with $attilamolnar
2012-10-21m_nickflood Fix a case when channels were locked regardless of elapsed time ↵attilamolnar
since the last nick change Fixes #330 reported by @Shawn-Smith
2012-10-21m_nickflood Make code more readable, unset +F when the module is unloadedattilamolnar
See 21c3232b8e0bb41727f2d65a0b2d5304587cf6be and fae560cddc389b88c9cd34afdccf9035f4d11c5b
2012-10-21Make better use of User::GetFullRealHost()attilamolnar
2012-10-19m_ldapauth Allow filtering on arbitrary LDAP attributesAdrien Bustany
This commit implements filtering on LDAP attributes, in a similar way to what Apache Httpd does with "Require ldap-attribute".
2012-10-19m_filter More cleanup and optimizationsattilamolnar
Fix a typo
2012-10-19m_filter Don't move the filter to the beginning of the vector when a match ↵attilamolnar
occurs
2012-10-19m_filter Remove redundant flags field from FilterResultattilamolnar
Change FillFlags() to return the character it did not understand, 0 if all ok
2012-10-19m_filter Change exemptfromfilter to be a setattilamolnar
2012-10-19m_filter Use an enum for filter actions instead of a stringattilamolnar
2012-10-19m_filter Cleanup, remove empty and useless functionsattilamolnar
2012-10-19Fix for #268.Peter Powell
- Move color stripping code to helperfuncs. - Strip color codes before matching filters.
2012-10-18m_ident Allow the usage of an overriden IsIdent() instead of using a ↵attilamolnar
hardcoded version of it Fix long idents being accepted regardless of Limits.IdentMax
2012-10-14m_ssl_gnutls: Resolve deprecation warnings properlyChrisTX
2012-10-13m_chancreate Fix snonotices not being sent when remote users create channelsattilamolnar
Fixes #318
2012-10-13m_ssl_gnutls Cast pointer difference to an unsigned int before displaying itattilamolnar
2012-10-12Merge pull request #320 from ChrisTX/insp20+cleanupwinAdam
Windows: In-depth cleanup (see details)
2012-10-12Fix broken buildattilamolnar
2012-10-12Windows: In-depth cleanup (see details)ChrisTX
-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
2012-10-12m_cgiirc, m_dnsbl Remove unnecessary includesattilamolnar
2012-10-12Remove superfluous std::string()sattilamolnar
2012-10-10Compare the result of ldap_search_ext_s to LDAP_SUCCESS....Adam
2012-10-08Allows to use user->ident string instead of user->nick for NickServ.Boleslaw Tokarski
2012-10-07m_spanningtree Fix undefined behavior caused by referencing the returned ↵attilamolnar
buffer by std::string::c_str() when the object is temporary
2012-10-06New module to support server-side topic locking and server-to-server ↵attilamolnar
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
2012-10-04m_cban, m_rline, m_shun Broadcast these commands as some services ↵attilamolnar
implementations send them (even though they shouldn't)
2012-10-04Replace hardcoded paths with configurable onesChrisTX
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.
2012-10-03Check if the mask is long enough before accessing it when checking extbansattilamolnar
2012-10-03m_services_account Fix possible recursion when checking 'U' extbansattilamolnar
2012-10-03m_spanningtree Fill a parameterlist in OnAddLine/OnDelLineattilamolnar
2012-10-03m_spanningtree Simplify OnMode and OnSetAway handlersattilamolnar
2012-10-03m_spanningtree Remove empty RedoConfig()attilamolnar
2012-10-03m_spanningtree Utils: Remove unused functionsattilamolnar
2012-10-03m_spanningtree OPERTYPE handler: Return when finished processing instead of ↵attilamolnar
changing execution path with a flag
2012-10-03m_spanningtree Remote WHOIS handler: Find target with FindNickOnly (don't ↵attilamolnar
accept uids, like in cmd_whois)