aboutsummaryrefslogtreecommitdiff
path: root/include/message.h
Commit message (Expand)AuthorAgeFilesLines
* Update copyright headers.Gravatar InspIRCd Robot2024-06-071-1/+1
* Allow mutating the status message type in OnUserPre(Tag)Message.Gravatar Sadie Powell2024-05-061-2/+6
* Convert various enums to strongly typed scoped enums.Gravatar Sadie Powell2023-01-221-3/+4
* Abolish the infernal space before accessibility keywords.Gravatar Sadie Powell2022-01-251-5/+5
* Add the final keyword to all remaining classes that can have it.Gravatar Sadie Powell2021-12-201-1/+1
* Merge branch 'insp3' into master.Gravatar Sadie Powell2021-05-111-1/+1
|\
| * Fix a bunch of weird indentation and spacing issues.Gravatar Sadie Powell2021-04-271-1/+1
* | Use string_view in IsCTCP.Gravatar Sadie Powell2021-04-081-2/+2
* | Merge branch 'insp3' into master.Gravatar Sadie Powell2021-03-051-1/+1
|\|
| * Update copyright headers.Gravatar InspIRCd Robot2021-03-051-1/+1
* | Merge branch 'insp3' into master.Gravatar Sadie Powell2020-07-151-1/+1
|\|
| * Add a config option that forces bots to use NOTICEs.Gravatar Sadie Powell2020-07-071-1/+1
* | Merge branch 'insp3' into master.Gravatar Sadie Powell2020-03-181-0/+3
|\|
| * Allow modules to prevent a message from updating the idle time.Gravatar Sadie Powell2020-03-051-0/+4
* | Use C++11 inline initialisation for class members.Gravatar Sadie Powell2020-02-061-8/+4
|/
* Update copyright headers.Gravatar InspIRCd Robot2020-01-311-1/+1
* Fix "control reaches end of non-void function" warning.•••This is harmless because it will always be set to one of the items in the TargetType enum. Gravatar Sadie Powell2020-01-281-0/+5
* Add a method for getting the name of a MessageTarget.•••This fixes a minor bug in the filter module where the target would be blank in messages when a server-targetted message matches a filter. Gravatar Sadie Powell2020-01-231-0/+14
* Update copyright headers.Gravatar InspIRCd Robot2020-01-111-1/+2
* Update my name and email address.Gravatar Sadie Powell2019-12-311-1/+1
* Remove trailing whitespace from various source files.Gravatar Peter Powell2019-01-241-1/+1
* Implement proper CTCP parsing in MessageDetails.Gravatar Peter Powell2018-08-261-0/+18
* Fix aliases that resolve to messages echoing with echo-message.•••Fixes #1459. Gravatar Peter Powell2018-08-151-4/+8
* Implement IRCv3 message tag support.•••Co-authored-by: Attila Molnar <attilamolnar@hush.com> Gravatar Peter Powell2018-08-131-1/+8
* Rework message handling.•••- Move all message-related types to their own header to make moving them to a cross-module events easier. - Rename OnUserMessage to OnUserPostMessage. - Rename OnText to OnUserMessage. - Replace the dest, target_type, and status parameters with the MessageTarget class. - Replace the text, exempt_list, and msgtype parameters with the MessageDetails struct. - Add echooriginal and originaltext to the MessageDetails struct to allow spam filtering to not be broken by cap echo-message. Gravatar Peter Powell2018-01-061-0/+127
* Update configure, remove a bunch of deprecated makefiles that have been just ...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5600 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-10-311-18/+0
* Move IsNick, IsIdent into class InspIRCd, update modules that use it.•••Change message.h to just a #warning saying its deprecated, and remove all use of it from the core :) git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4847 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-08-101-17/+1
* cmode(), cflags(), cstatus() -> chanrec::GetStatusChar(), chanrec::GetStatusF...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4837 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-08-101-3/+0
* Move more stuff into userrec•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4823 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-08-091-1/+0
* Get rid of Server::GetUsers(chanrec) - a throwback to before chanrec could do...•••Move: bool ChangeDisplayedHost(const char* host); bool ChangeName(const char* gecos); int CountChannels(); Into userrec git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4807 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-08-091-3/+0
* Move Blocking/NonBlocking to socket.cpp and make inline•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4806 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-08-091-2/+0
* common_channels -> userrec::SharesChannelWith()•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4805 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-08-091-1/+0
* (1) remove CleanAndResolve.•••(2) remove feature of being able to bind hostnames in <bind> tags (it used CleanAndResolve) :p (3) Fix the stuff in SpanningTree that used CleanAndResolve to validate connecting ip addresses - it now builds an 'allowed ip cache' on rehash/startup instead git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4637 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-08-021-1/+0
* Tidyup message.cpp, remove some really old craq.•••Improve tidiness of new common_channels function Add timeout value to blocking CleanAndResolve function git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4572 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-07-281-3/+1
* Tried to implement sprintf that returns std::string of any size, realized it ...•••Moved chop() functionality into userrec::AddWriteBuf and make it nicer (no strlen) git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4433 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-07-181-2/+0
* Add userrec::HasMode, fix some typos.•••TODO: Make more use of userrec::HasUmode('c') rather than user->modes['c'-65] *oogly* Next - get umode +o working! git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4178 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-07-081-1/+0
* Support for hostnames in <bind> tag (so long as the hostname resolves to a lo...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3621 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-03-101-1/+1
* Fixed externs•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3561 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-03-081-1/+0
* cmode now returns const char* as it returns a pointer to a literal string and...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3557 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-03-081-1/+1
* Tweak to allow @%+ to all exist on a user at once during burst•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3170 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-02-121-0/+1
* Updated copyrights in headers etc using perl inplace edit•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2795 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-01-151-1/+1
* Modified chlist() and whois to allow output of multi line channel membership ...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2373 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2005-12-131-1/+1
* Changed to use __single_client_alloc, faster on most systems in a single thread•••Specified namespace std in *all* files git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@1404 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2005-05-151-2/+0
* Fixes to:•••+s and +p channels wouldn't be synched correctly +s and +p never show in whois even when you're a member of them +s and +p never show in list even if you're a member of them git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@1308 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2005-05-051-1/+1
* Updated header comments•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@816 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2004-05-161-0/+16
* Moving yet more stuff into message.cpp•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@665 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2004-04-191-0/+3
* Started seperating out functions•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@661 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2004-04-191-0/+33