aboutsummaryrefslogtreecommitdiffstats
path: root/src
Commit message (Expand)AuthorAgeFilesLines
* Rewrote sepstream and tokenstream to be less uglyGravatar Adam2013-06-021-62/+37
* ISupportManager: Tidy-up, expand commentsGravatar attilamolnar2013-06-021-11/+22
* Move a few trivial functions into headersGravatar attilamolnar2013-06-026-47/+0
* 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-015-92/+66
* Remove useless ModeType parameter from ModeWatcher::BeforeMode() and AfterMode()Gravatar attilamolnar2013-06-015-11/+11
* Remove #define MAXPARAMETERS and "MAXPARA" 005 tokenGravatar attilamolnar2013-06-013-3/+2
* CommandParser::ProcessCommand() and ProcessBuffer() cleanup•••- Change return types to void - Use a pointer to the command handler instead of an iterator Gravatar attilamolnar2013-06-011-33/+32
* Improve command parser logic when there are more params than Command::max_paramsGravatar attilamolnar2013-06-011-22/+13
* Remove (non-functional) total_bytes counter from CommandGravatar attilamolnar2013-06-012-2/+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-277-40/+7
* Deduplicate RemoveMode() implementations•••The default (core) implementation can now remove prefix modes The modestacker parameter is now mandatory Gravatar attilamolnar2013-05-278-158/+34
* 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-275-123/+57
* LogManager cleanupGravatar attilamolnar2013-05-241-39/+15
* Cache mode list that is sent in the 004 numeric•••Deduplicate UserModeList(), ChannelModeList() and ParaModeList() code Gravatar attilamolnar2013-05-242-39/+12
* Remove dead ModeParser codeGravatar attilamolnar2013-05-241-16/+0
* Some systems with whacky va_list implementations do undefined stuff when vsnp...Gravatar Adam2013-05-231-3/+15
* 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-2158-225/+188
|\
| * Fix spacing in calls to LogManager::Log.Gravatar Peter Powell2013-05-1955-177/+175
| * Accept a LogLevel instead of an int in logging methods.Gravatar Peter Powell2013-05-192-7/+5
| * Purge a ton of code related to non <log> related logging.•••- InspIRCd::OpenLog - ./inspircd --logfile [file] This is no longer needed now we have (since 1.2) custom logging. Gravatar Peter Powell2013-05-192-35/+3
| * Move LogHeader to LogStream.Gravatar Peter Powell2013-05-192-6/+5
* | Convert XLine::Displayable to return a std::string.Gravatar Peter Powell2013-05-217-31/+38
* | 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-2026-187/+65
* | Fixup last commitGravatar Adam2013-05-201-1/+1
* | Replaced vsnprintf with VAFORMAT pretty much everywhere.Gravatar Daniel Vassdal2013-05-187-155/+58
* | Added macro to allow simpler logic in functions with the need to vsnprintfGravatar Daniel Vassdal2013-05-181-5/+8
|/
* Change the signature of User::ForceNickChange() to accept const std::string& ...Gravatar attilamolnar2013-05-186-8/+8
* Get rid of the NICKForced extension•••Don't run OnUserPreNick when the nick change is forced Gravatar attilamolnar2013-05-185-22/+9
* Remove unused UserManager::ServerPrivmsgAll()Gravatar attilamolnar2013-05-181-24/+0
* irc::tokenstream and irc::sepstream cleanup•••irc::sepstream does not require virtual methods Gravatar attilamolnar2013-05-181-8/+0
* irc::stringjoiner cleanup•••- Get rid of unused constructors - signed -> unsigned - return const ref from GetJoined() Gravatar attilamolnar2013-05-181-23/+3
* Deduplicate hex string creation codeGravatar attilamolnar2013-05-184-28/+7
* Merge pull request #543 from SaberUK/master+sizeparam-removal•••Remove the size argument from IsChannel and IsNick.Gravatar Attila Molnar2013-05-1816-33/+33
|\
| * 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-1816-33/+33
* | Purge the old chanlog code from the module file.Gravatar Peter Powell2013-05-181-54/+0
|/
* Added a function to replace all the ugly sprintf-ing everywhereGravatar Daniel Vassdal2013-05-161-0/+13
* Fix padding bug in GenerateSID(), spotted by @ShutterQuickGravatar attilamolnar2013-05-161-0/+1
* Fix the poll socket engine.Gravatar Peter Powell2013-05-161-1/+1
* Get rid of strlcpy(), strlcat(), charlcat() and charremove()Gravatar attilamolnar2013-05-165-174/+31
* m_joinflood Make the code friendlier, unset +j when the module is unloaded•••See 21c3232b8e0bb41727f2d65a0b2d5304587cf6be and fae560cddc389b88c9cd34afdccf9035f4d11c5b Gravatar attilamolnar2013-05-161-89/+41
* irc::Spacify--Gravatar attilamolnar2013-05-161-11/+0
* 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-1612-16/+29
* 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-1524-209/+100
* Merge pull request #523 from SaberUK/master+server-notice•••Add method for writing server notices.Gravatar Attila Molnar2013-05-1464-175/+172
|\
| * 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-1464-175/+172
* | m_spanningtree UID handler: Fix parsing user modes•••Spotted by @ShutterQuick Issue #532 Gravatar attilamolnar2013-05-141-3/+5
|/
* Clean up cross-platform compatibility.•••- Move compatibility macros to a new header file. - Sort system include files in alphabetical order. - Clean up signal handling (thanks to Adam). Gravatar Peter Powell2013-05-071-11/+5