aboutsummaryrefslogtreecommitdiffstats
path: root/src/commands
Commit message (Expand)AuthorAgeFilesLines
...
* | Fix a couple of issues•••- Wrong doc for Snomask::GetDescription() - Incorrect idle time when WHOISing remote users - String + int = garbage - Remote MODE commands (user mode changes) being broadcast in addition to being forwarded - Incorrect revision being shown Gravatar attilamolnar2013-08-082-2/+2
* | Automatically attach modules to eventsGravatar attilamolnar2013-08-044-11/+0
* | Change the syntax of FOREACH macros to be less dumb.Gravatar Adam2013-08-046-13/+13
* | Replace hardcoded mode letters, part 3•••This changes most remaining User::IsModeSet() calls to use ModeReferences for modes that were created by other modules or the core Gravatar attilamolnar2013-07-193-10/+37
* | Move SetNoticeMask(), FormatNoticeMasks() and ProcessNoticeMasks() from the U...Gravatar attilamolnar2013-07-191-2/+4
* | Replace hardcoded mode letters, part 2•••This changes all remaining Channel::IsModeSet() and Channel::GetModeParameter() calls to use ModeReferences for modes that were created by other modules or the core Gravatar attilamolnar2013-07-196-27/+78
* | Always set the topic in Channel::SetTopic(), move access checks into cmd_topicGravatar attilamolnar2013-06-161-6/+27
* | Remove TR_END, remove TRANSLATEx() from commands that do not need itGravatar attilamolnar2013-06-131-1/+1
* | Introduce ModeProcessFlags, can be passed to ModeParser::Process() to indicat...•••Change ProtocolInterface::SendMode() to take source and destination parameters, and call it from the mode parser whenever the mode change is global This deprecates the ambiguous InspIRCd::SendMode() and InspIRCd::SendGlobalMode() interface (the latter sent mode changes originating from local users twice, etc.) Gravatar attilamolnar2013-06-131-1/+1
* | Get rid of the OnRemoteKill hook, make use of GetRouting() and TR_CUSTOM to r...Gravatar attilamolnar2013-06-121-6/+24
* | Implement GetRouting() in core commands that require it, remove ugly workarou...Gravatar attilamolnar2013-06-127-0/+28
* | CommandParser::LoopCall() changes•••- Change function to be static, return a bool - Do not filter duplicates when there are 2 lists (JOIN) - Remove validation of 'extra' parameter, caller must pass either a valid index or -1 Gravatar attilamolnar2013-06-127-8/+8
* | Unite cmd_privmsg and cmd_noticeGravatar attilamolnar2013-06-122-256/+65
* | Convert User::FormatNoticeMasks() to use std::string.Gravatar Peter Powell2013-06-061-1/+1
* | Use InspIRCd::Format instead of snprintf().Gravatar Peter Powell2013-06-062-19/+14
* | Merge insp20Gravatar attilamolnar2013-06-063-9/+10
|\|
| * Remove unnecessary string copies and dead codeGravatar attilamolnar2013-06-051-1/+1
| * cmd_who Hide +i users when listing users on a server and hidewhois is off•••Fixes #547 reported by @RawrDragon Gravatar attilamolnar2013-06-011-1/+1
| * Update authorsGravatar attilamolnar2013-05-231-7/+8
* | Reduce User* -> Membership* lookups on part and kickGravatar attilamolnar2013-06-041-2/+4
* | Channel::KickUser() and cmd_kick changes•••- Remove uline checks from KickUser() - Disallow the kick if done by a local user and the victim is ulined in cmd_kick - Remove call to RemoveAllPrefixes() as it has no additional effect, the Membership object containing the prefixes is destroyed soon after the call Gravatar attilamolnar2013-06-041-3/+12
* | Route WALLOPS like a regular command, remove OnWallops hookGravatar attilamolnar2013-06-021-1/+5
* | Watch mode names with ModeWatchers instead of mode lettersGravatar attilamolnar2013-06-011-1/+1
* | Remove useless ModeType parameter from ModeWatcher::BeforeMode() and AfterMode()Gravatar attilamolnar2013-06-011-1/+1
* | Remove (non-functional) total_bytes counter from CommandGravatar attilamolnar2013-06-011-1/+1
* | Merge pull request #545 from SaberUK/master+logging-cleanup•••Clean up the logging system (part 1 of 2).Gravatar Attila Molnar2013-05-217-16/+16
|\ \
| * | Fix spacing in calls to LogManager::Log.Gravatar Peter Powell2013-05-197-16/+16
* | | 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-202-12/+12
|/ /
* | 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-182-3/+3
* | Get rid of strlcpy(), strlcat(), charlcat() and charremove()Gravatar attilamolnar2013-05-161-22/+6
* | 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-162-2/+2
* | 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-154-31/+10
* | 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-147-30/+30
* | Merge insp20Gravatar attilamolnar2013-04-281-8/+8
|\|
| * cmd_stats List opers without iterating the whole userlistGravatar attilamolnar2013-04-011-5/+6
| * cmd_invite Check if the inviting user is on the channel before potentially te...Gravatar attilamolnar2013-04-011-8/+8
* | Move <performance:nouserdns> to <connect:nouserdns>.Gravatar Peter Powell2013-04-271-8/+2
* | Fix WindowsGravatar Adam2013-04-261-1/+1
* | 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-263-52/+1094
* | Add <security:allowcoreunload>.•••When enabled (the default) this setting prevents the unloading of core modules such as cmd_privmsg. Gravatar Peter Powell2013-04-131-1/+8
* | Channel::JoinUser() and Channel::ForceChan() changes•••Convert static Channel::ForceChan() to non-static Channel::ForceJoin() that joins a user to a channel, no permission checks The (static) Channel::JoinUser() now has a LocalUser parameter, and no longer have TS and bursting parameters. If the channel doesn't exist, it is created using current time as TS Gravatar attilamolnar2013-04-131-8/+14
* | Remove the deprecated invite APIGravatar attilamolnar2013-04-131-3/+8
* | Add LOG_ prefix to the log level enum values.Gravatar Peter Powell2013-04-125-9/+9
* | Convert ISUPPORT to use a map instead of a string.Gravatar Peter Powell2013-04-111-1/+5
* | Replace IS_AWAY() and IS_OPER() macros with User::IsAway() and User::IsOper()Gravatar attilamolnar2013-04-107-11/+11
* | Move most whois related code from the core into cmd_whoisGravatar attilamolnar2013-04-091-12/+153
* | Stop recreating hashmaps every hour, move garbage collection code related to ...Gravatar attilamolnar2013-04-041-1/+0
* | Move whowas settings into cmd_whowas from ConfigReaderGravatar attilamolnar2013-04-041-9/+37
* | Make cmd_whowas act like a module, remove special handlingGravatar attilamolnar2013-04-042-50/+24
* | Convert InspIRCd::Duration() to be staticGravatar attilamolnar2013-04-037-10/+8