aboutsummaryrefslogtreecommitdiffstats
path: root/src/modules
Commit message (Expand)AuthorAgeFilesLines
* m_devoice Remove FindChan() and HasUser() checks, these are done when parsing...Gravatar attilamolnar2013-06-021-12/+6
* Watch mode names with ModeWatchers instead of mode lettersGravatar attilamolnar2013-06-013-32/+18
* Remove useless ModeType parameter from ModeWatcher::BeforeMode() and AfterMode()Gravatar attilamolnar2013-06-013-5/+5
* Remove #define MAXPARAMETERS and "MAXPARA" 005 tokenGravatar attilamolnar2013-06-011-1/+1
* Simplify user mode removal via ModeHandler::RemoveMode()•••The function does not need to be virtual because the core can remove any user mode using the default logic The optional modestack parameter was always NULL, so remove it Gravatar attilamolnar2013-05-272-8/+0
* Deduplicate RemoveMode() implementations•••The default (core) implementation can now remove prefix modes The modestacker parameter is now mandatory Gravatar attilamolnar2013-05-273-61/+1
* Clean up the FileReader class and all of the modules that use it.•••- Modules which use this class will now have to catch a CoreException when opening files if they wish to ignore the failed loading of a file. - m_randquote has been cleaned up massively and the RANDQUOTE command has been removed as it was pretty much useless. Gravatar Peter Powell2013-05-273-58/+29
* Change CacheRefreshTimer tick time back to 5 minutesGravatar Adam2013-05-231-1/+1
* Merge pull request #545 from SaberUK/master+logging-cleanup•••Clean up the logging system (part 1 of 2).Gravatar Attila Molnar2013-05-2130-88/+88
|\
| * Fix spacing in calls to LogManager::Log.Gravatar Peter Powell2013-05-1930-88/+88
* | Convert XLine::Displayable to return a std::string.Gravatar Peter Powell2013-05-216-18/+25
* | Remove OnUserPreNotice and OnUserNotice hooks, add MessageType argument to On...•••All modules (except m_nonotice) that perform filtering on messages have common logic for handling PRIVMSGs and NOTICEs and most of them run the exact same code in both cases Gravatar attilamolnar2013-05-2023-171/+51
* | Replaced vsnprintf with VAFORMAT pretty much everywhere.Gravatar Daniel Vassdal2013-05-181-6/+2
|/
* Change the signature of User::ForceNickChange() to accept const std::string& ...Gravatar attilamolnar2013-05-185-7/+7
* Get rid of the NICKForced extension•••Don't run OnUserPreNick when the nick change is forced Gravatar attilamolnar2013-05-183-10/+0
* Deduplicate hex string creation codeGravatar attilamolnar2013-05-182-2/+2
* Merge pull request #543 from SaberUK/master+sizeparam-removal•••Remove the size argument from IsChannel and IsNick.Gravatar Attila Molnar2013-05-1813-26/+26
|\
| * Remove the size argument from IsChannel and IsNick.•••There was only one case (which was probably an error) where these methods were not set to their ServerLimits value. Gravatar Peter Powell2013-05-1813-26/+26
* | Purge the old chanlog code from the module file.Gravatar Peter Powell2013-05-181-54/+0
|/
* m_joinflood Make the code friendlier, unset +j when the module is unloaded•••See 21c3232b8e0bb41727f2d65a0b2d5304587cf6be and fae560cddc389b88c9cd34afdccf9035f4d11c5b Gravatar attilamolnar2013-05-161-89/+41
* Allow spaces (and more) in oper types•••The spaces are converted to '_' characters in OPERTYPE for 2.0 servers Issue #533 suggested by @ankitkv Gravatar attilamolnar2013-05-166-6/+21
* Tidy up keywords on module methods.•••- Remove virtual keyword from a ton of methods which don't need it. - Add override keyword to a ton of methods which do need it. Gravatar Peter Powell2013-05-15160-790/+789
* Replace some C-isms with C++-isms.•••* 'const char*' to 'const std::string&'. * snprintf to std::string concatenation. * Replace duplicated OneOfMatches with InspIRCd::MatchMask. Gravatar Peter Powell2013-05-1510-88/+20
* Merge pull request #523 from SaberUK/master+server-notice•••Add method for writing server notices.Gravatar Attila Molnar2013-05-1451-133/+127
|\
| * Add method for writing server notices.•••This allows us to send a server notice to a user without worrying about whether they are registered or not. If a user receives a server notice and they are not registered then the nickname field will contain an asterisk instead of their nick name. Gravatar Peter Powell2013-05-1451-133/+127
* | m_spanningtree UID handler: Fix parsing user modes•••Spotted by @ShutterQuick Issue #532 Gravatar attilamolnar2013-05-141-3/+5
|/
* Merge insp20Gravatar attilamolnar2013-04-2813-122/+312
|\
| * m_ssl_gnutls Add ability to load DH params from file•••This greatly decreases the load time because the DH parameters no longer have to be (re)generated each time the module is loaded Gravatar attilamolnar2013-04-241-2/+23
| * m_spanningtree Fix crash when connecting to a remote server that has the same...•••See 49223cfe12ecd9071123f724e615e63841f2421d Gravatar attilamolnar2013-04-231-2/+3
| * m_rline Switch to OnUserRegister hook to disconnect banned users earlierGravatar attilamolnar2013-04-211-2/+10
| * m_filter, m_rline Remove rlines and filters when the regex engine changes or ...Gravatar attilamolnar2013-04-212-16/+79
| * m_filter Fix memory leak on unloadGravatar attilamolnar2013-04-211-0/+17
| * Log some internal errors on DEFAULT loglevel instead of DEBUG, log detected e...Gravatar attilamolnar2013-04-211-0/+11
| * m_permchannels Workaround for alphabetical module initialization order•••Read database after all modules have been inited Add exception logging Fixes #485 reported by @gholms Gravatar attilamolnar2013-04-211-8/+32
| * m_ident Invalidate cache after changing User::identGravatar attilamolnar2013-04-191-0/+1
| * m_callerid Allow messaging yourself while +g regardless of the ACCEPT listGravatar attilamolnar2013-04-191-1/+1
| * m_spanningtree Fix IS_LOCAL() check in OnRehash handlerGravatar attilamolnar2013-04-181-1/+1
| * m_callerid Ignore duplicate entries when unserializing callerid_dataGravatar attilamolnar2013-04-181-3/+5
| * m_callerid Fix bookkeeping error introduced when unserializing callerid_data•••This also fixes a memory leak that didn't occur naturally but was triggerable by remote servers Thanks to @SimosNap for the report Gravatar attilamolnar2013-04-181-22/+23
| * Fix m_ssl_gnutls and perhaps some other things on Windows by recognizing WSAE...Gravatar Adam2013-04-161-0/+12
| * m_kicknorejoin Store and compare uuids instead pointers•••Fixes the off chance scenario where we disallow a join because a previously kicked user has quit and the User who is trying to join happens to be allocated at the exact same memory location Gravatar attilamolnar2013-04-161-3/+3
| * m_kicknorejoin Limit time to 30m by default•••In the current implementation we only expire entries when someone joins, without a limit it was possible to make us practically never remove entries and consume (a tiny amount of) memory for each entry until the mode was removed/parameter was changed The default limit of 30m is chosen to not surprise people when they upgrade. If you need to prevent rejoins for more than a minute then you should set a (timed)ban instead Config option is available to change the limit (2.0 only) Gravatar attilamolnar2013-04-161-14/+37
| * m_kicknorejoin Minor improvements•••- Ignore remote users - Remove expired items in one pass Gravatar attilamolnar2013-04-161-8/+4
| * m_spanningtree Create new TreeServers for incoming connections only when they...Gravatar attilamolnar2013-04-103-25/+60
| * Remove some uline checks that ran after an IS_LOCAL() checkGravatar attilamolnar2013-04-092-19/+2
* | Added RMODE command per suggestion #479Gravatar Daniel Vassdal2013-04-271-0/+129
* | Prevent /mode from being incredible näive after failed attempt to samode a u...Gravatar Daniel Vassdal2013-04-271-1/+1
* | Move <performance:nouserdns> to <connect:nouserdns>.Gravatar Peter Powell2013-04-271-3/+2
* | Modularize DNS•••The DNS modules are temporarily in commands/ so they're loaded automatically Thanks to Attila for helping with much of this. Gravatar Adam2013-04-267-188/+231
* | m_spanningtree Move CacheTimer into utilsGravatar attilamolnar2013-04-216-46/+21