aboutsummaryrefslogtreecommitdiff
path: root/src/modules/m_spanningtree/away.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Update copyright headers.Gravatar InspIRCd Robot2025-12-031-1/+1
|
* Update copyright headers.Gravatar InspIRCd Robot2024-06-071-3/+2
|
* Rework how away state is stored internally.Gravatar Sadie Powell2023-08-041-13/+8
| | | | | This will be necessary for implementing pre-away as well as some changes for WATCH compatibility with Unreal.
* Expose the removed away message in OnUserBack.Gravatar Sadie Powell2023-02-031-1/+2
|
* Merge branch 'insp3' into master.Gravatar Sadie Powell2023-01-011-1/+0
|\
| * Update copyright headers.Gravatar InspIRCd Robot2022-12-301-1/+0
| |
* | 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>.Gravatar Peter Powell2018-12-121-1/+1
| | | | | | | 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.
* Convert AWAY to use cross-module events and clean up slightly.Gravatar Peter Powell2018-08-121-11/+5
| | | | | | | 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.
* Use CommandBase::Params instead of std::vector<std::string>.Gravatar Peter Powell2018-07-261-1/+1
| | | | | This is presently a typedef but will soon be replaced with a class that encapsulates both tags and parameters.
* 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 ↵Gravatar Attila Molnar2016-08-191-1/+1
| | | | | | commands into the SpanningTree namespace This fixes issues in static builds
* 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 ↵Gravatar attilamolnar2013-08-251-3/+1
| | | | | | they accept servers, remote users or both as the command source To make life easier for handlers accepting servers only as source, pass them a TreeServer* so they don't have to call FindServer()
* m_spanningtree Move all server-to-server command handlers into handler classesGravatar attilamolnar2013-08-181-9/+5
| | | | 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.
* 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 possibleGravatar attilamolnar2013-04-121-1/+1
| | | | Remove two redundant functions from Utils
* Add IS_SERVER() and REG_ALL checks to (mostly oper only) commands taking a ↵Gravatar attilamolnar2012-12-151-1/+1
| | | | | | target nickname 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
* 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.Gravatar brain2010-01-111-1/+1
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@12248 e03df62e-2008-0410-955e-edbf42e46eb7
* Create StreamSocket for IO hooking implementationGravatar danieldg2009-09-211-1/+1
| | | | | | | | | | | | | | 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
* Add away timestamp to the AWAY message sent server-serverGravatar danieldg2009-09-021-0/+46
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11664 e03df62e-2008-0410-955e-edbf42e46eb7