aboutsummaryrefslogtreecommitdiff
path: root/src/modules/m_spanningtree/away.cpp
Commit message (Expand)AuthorAgeFilesLines
* Always use ExtractTS to extract timestamps from S2S messages.Gravatar Sadie Powell2021-09-101-1/+1
* Convert FOREACH_MOD_CUSTOM to a variadic function.Gravatar Sadie Powell2020-11-101-2/+2
* Convert CmdResult to an 8-bit strongly typed enum.Gravatar Sadie Powell2020-10-271-1/+1
* Update copyright headers.Gravatar InspIRCd Robot2020-01-111-0/+6
* Fix away broadcast logic (#1561)Gravatar linuxdaemon2019-01-231-1/+1
* Fix conversion issues by replacing ConvToInt with ConvToNum<T>.•••The former was a thin wrapper around atol and brought with it all of the weird parsing logic of atol which is almost never what is actually wanted. It also almost never returned the numeric type which is actually wanted which can cause weird issues when casting. Gravatar Peter Powell2018-12-121-1/+1
* Convert AWAY to use cross-module events and clean up slightly.•••OnSetAway has been replaced with four events. OnUserPreAway and OnUserPreBack can be used to deny an away state change and/or change the away message of a local user. OnUserAway and OnUserBack allow modules to be notified that a user's away state has changed. Gravatar Peter Powell2018-08-121-11/+5
* Use CommandBase::Params instead of std::vector<std::string>.•••This is presently a typedef but will soon be replaced with a class that encapsulates both tags and parameters. Gravatar Peter Powell2018-07-261-1/+1
* Use !empty() instead of 'size() > 0' when checking parameter count.Gravatar B00mX0r2018-07-031-1/+1
* m_spanningtree Put command handlers with class names that collide with core c...•••This fixes issues in static builds Gravatar Attila Molnar2016-08-191-1/+1
* m_spanningtree Use vector back() where it makes senseGravatar Attila Molnar2014-06-141-2/+2
* m_spanningtree Introduce command buildersGravatar attilamolnar2013-08-271-0/+13
* m_spanningtree Allow server-to-server command handlers to specify whether the...•••To make life easier for handlers accepting servers only as source, pass them a TreeServer* so they don't have to call FindServer() Gravatar attilamolnar2013-08-251-3/+1
* m_spanningtree Move all server-to-server command handlers into handler classes•••These commands are not registered in or called by the core. When looking for the handler of a command a new command table is searched first which contains all server-to-server commands. If a handler cannot be found in there, the core command table is consulted. Gravatar attilamolnar2013-08-181-9/+5
* Change the syntax of FOREACH macros to be less dumb.Gravatar Adam2013-08-041-2/+2
* m_spanningtree Remove unneeded #includesGravatar attilamolnar2013-04-121-1/+0
* m_spanningtree atoi() to ConvToInt() conversion, add const where possible•••Remove two redundant functions from Utils Gravatar attilamolnar2013-04-121-1/+1
* Add IS_SERVER() and REG_ALL checks to (mostly oper only) commands taking a ta...•••If a SID was passed as the target user parameter or when it's an unregistered user reply with the "no such nick" (or the moral equivalent) message Gravatar attilamolnar2012-12-151-1/+1
* Replace copyright headers with headers granting specific authors copyrightGravatar Robby-2012-04-191-8/+14
* ...because every now and again, i have to do a massive commit.•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@12248 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2010-01-111-1/+1
* Create StreamSocket for IO hooking implementation•••Fixes the SSL SendQ bug Removes duplicate code between User and BufferedSocket Simplify SSL module API Simplify EventHandler API (Readable/Writeable moved to SE) Add hook for culled objects to invoke callbacks prior to destructor Replace SocketCull with GlobalCull now that sockets can close themselves Shorten common case of user read/parse/write path: User::Write is now zero-copy up to syscall/SSL invocation User::Read has only two copy/scan passes from read() to ProcessCommand git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11752 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar danieldg2009-09-211-1/+1
* Add away timestamp to the AWAY message sent server-server•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11664 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar danieldg2009-09-021-0/+46