InspIRCd Robot
4f9abe96a4
Fixes by misspell-fixer
2020-04-21 00:52:12 -06:00
Matt Schatz
3ed1cc27b1
Switch User::usertype back to an unsigned int.
...
Leaving it up to the compiler to set the underlying type of the enum
can result in this being a signed int. This variable will not work
as intended as a 2 bit signed int.
This fixes an issue with the Windows build(s) where a server trying
to link would fail with "Protocol violation: Invalid source".
2020-04-19 05:01:04 -06:00
Matt Schatz
ccebfe6e63
Update user-facing text and comments of SSL to TLS.
2020-04-14 06:08:31 -06:00
Sadie Powell
31897d26f2
Add the inspircd.org/standard-replies capability.
2020-04-13 18:36:21 +01:00
Sadie Powell
6fcbfc0723
Add support for limiting what opers can subscribe to snomasks.
2020-04-11 15:44:51 +01:00
Sadie Powell
ba30c383ba
Fix Numerics::CannotSendTo sending the wrong numeric for users.
2020-04-06 20:34:44 +01:00
Sadie Powell
fe23e07f02
Squish the cmd_whowas header.
...
There's no reason for this to be in a header and it can't be used
by anything else.
2020-04-04 13:25:10 +01:00
Sadie Powell
cbe5b99314
Add the Numerics::CannotSendTo class and switch stuff to use it.
2020-04-04 12:31:14 +01:00
Sadie Powell
235a986964
Add support for sending a standard reply with no command name.
2020-04-02 20:55:53 +01:00
Sadie Powell
e19674d50a
Document Module::Prioritize.
2020-04-01 14:32:02 +01:00
Sadie Powell
9ebda853f5
Fix various documentation and formatting issues.
2020-03-30 17:24:12 +01:00
Matt Schatz
998b407b2a
Fix the signed-ness within ConvToNum char overloads.
...
It should be signed int with signed char and vice-versa.
Currently, anything over 127 as unsigned char would return 0.
2020-03-24 18:26:59 +00:00
Sadie Powell
c0703f66d7
Add a raw source/target PRIVMSG overload for sending a status msg.
2020-03-19 07:34:33 +00:00
Sadie Powell
92d83e9103
Allow commands to override ERR_{NEEDSMOREPARAMS,NOTREGISTERED}.
2020-03-18 11:26:05 +00:00
Sadie Powell
1efc234a54
Implement support for the SERVLIST command.
2020-03-12 17:51:03 +00:00
Sadie Powell
906e44f687
Add a CapReference class for the message-tags capability.
2020-03-12 05:23:04 +00:00
Sadie Powell
0a67b8861a
Warn if the server config contains an unhashed password.
...
This will be made a hard failure in v4.
2020-03-11 15:06:19 +00:00
Sadie Powell
600ea3b38f
Clean up the documentation of the Command and SplitCommand classes.
2020-03-05 20:47:18 +00:00
Sadie Powell
1899ce4e21
Move user command stuff from CommandBase to Command.
2020-03-05 20:47:18 +00:00
Sadie Powell
9a0046a709
Allow modules to prevent a message from updating the idle time.
2020-03-05 20:47:18 +00:00
Sadie Powell
e861d5bfca
Use "yes" instead of "true" in the example configs.
2020-02-21 20:37:00 +00:00
Sadie Powell
d1a29d72b9
Bump the module ABI version.
2020-02-19 00:39:53 +00:00
Sadie Powell
895fbdece7
Fix a copy/paste error in IRCv3::Replies::Reply.
2020-02-19 00:39:10 +00:00
Sadie Powell
df17d47b6a
Use ircd-hybrid's numerics for the "pending invites" list.
...
This fixes a conflict with the numerics used by the invite
exception mode.
2020-02-18 18:56:14 +00:00
Sadie Powell
2e0cc3684d
Generalise XLine stats numerics using RPL_STATS from aircd.
2020-02-18 18:56:14 +00:00
Sadie Powell
24f1224f77
Add HasFd to EventHandler and switch code to use it.
2020-02-15 06:25:12 +00:00
Sadie Powell
7324001939
Add overloads of SendIfCap to the standard replies API.
2020-02-14 04:05:54 +00:00
Sadie Powell
1315f79752
Initialise batchendmsg to NULL.
2020-02-06 11:36:32 +00:00
Sadie Powell
0c5b85df8c
Include the ABI version with the incompatible module error message.
2020-02-04 11:56:00 +00:00
Sadie Powell
60d4b6a3a7
Standard replies have been ratified.
2020-02-03 11:04:05 +00:00
Sadie Powell
aed712ba8e
Make loading modules considerably more robust and user friendly.
2020-02-02 20:32:49 +00:00
InspIRCd Robot
8f62016f16
Update copyright headers.
2020-01-31 12:48:25 +00:00
Sadie Powell
4ce16000d3
Bump the ABI version.
2020-01-31 12:42:54 +00:00
Sadie Powell
6597fe5d4f
Add Channel::WriteRemoteNotice and revert WriteNotice changes.
...
This is a partial reversion of 687778b72e.
See also: #1749 .
2020-01-29 12:00:32 +00:00
Sadie Powell
64df216836
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.
2020-01-28 18:56:46 +00:00
Sadie Powell
a697104a8c
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.
2020-01-23 17:22:25 +00:00
Sadie Powell
b7382a9138
Use PushParam instead of PushParamRef in TagMessage#PushTarget.
...
This could be a temporary string so copy it instead of risking a
crash and/or dumping the contents of memory into messages.
This fixes a crash introduced last week.
2020-01-22 11:47:20 +00:00
Sadie Powell
b759870d74
Add an event for when a command is blocked before execution.
2020-01-22 10:22:02 +00:00
Sadie Powell
a8b8cfe99e
Make the dynref bool operator constant.
2020-01-22 10:13:06 +00:00
Sadie Powell
62483525bb
Move DeleteZero to stdalgo::delete_zero.
2020-01-19 15:41:23 +00:00
Sadie Powell
5ae6524522
Fix the ordering of custom event handlers.
...
Closes #1742 .
2020-01-17 11:27:31 +00:00
Sadie Powell
2bf0722dde
Fix a GCC shadowing warning.
2020-01-16 17:37:51 +00:00
Sadie Powell
8df3d792bc
Fix STATUSMSG tag messages not including the status in the target.
2020-01-16 15:23:40 +00:00
InspIRCd Robot
aa692dc103
Update copyright headers.
2020-01-11 22:14:43 +00:00
Sadie Powell
473df5542f
Add an oper only parameter to Simple{Channel,User}ModeHandler.
2020-01-05 15:22:40 +00:00
Sadie Powell
a9e8e1f03a
Add an event provider class for the event/messagetag event.
2020-01-03 21:01:52 +00:00
Sadie Powell
56375392ba
Update my name and email address.
2019-12-31 20:55:17 +01:00
Peter Powell
4cc992f6c2
Ignore clients on ulined servers when reporting stats in LUSERS.
2019-12-28 17:33:49 +01:00
Peter Powell
ce7979bd7d
Extract port binding code to a function and improve output.
2019-12-12 14:37:38 +00:00
Peter Powell
ad50225dc3
Make BindPorts return size_t instead of int.
2019-12-09 01:34:02 +00:00