Sadie Powell
442101525b
Rename ERR_CANTSENDTOUSER to match the channel numeric name.
2020-04-11 17:30:55 +01:00
Sadie Powell
277f2193f8
Remove the whowas header which was missed during the last merge.
2020-04-11 16:15:12 +01:00
Sadie Powell
a57621c74b
Rename Module::flags to Module::properties.
...
This name is more descriptive and should create less warnings about
shadowing in existing modules.
2020-04-11 15:43:54 +01:00
Sadie Powell
1a800f7b3d
Improve storage of module description, flags, and link data.
2020-04-11 13:54:05 +01:00
Sadie Powell
e1ed9b275f
Merge branch 'insp3' into master.
2020-04-09 18:06:50 +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
b9acde9aaf
Merge branch 'insp3' into master.
2020-03-18 13:51:23 +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
7bdd72f634
Merge branch 'insp3' into master.
2020-02-19 01:29:45 +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
84eb33d4c3
Move FindNickOnly to UserManager.
2020-02-09 19:24:26 +00:00
Sadie Powell
61070d4894
Move FindNick to UserManager.
2020-02-09 17:19:31 +00:00
Sadie Powell
1cdffcaad7
Move FindUUID to the UserManager class.
2020-02-09 17:16:07 +00:00
Sadie Powell
1315f79752
Initialise batchendmsg to NULL.
2020-02-06 11:36:32 +00:00
Sadie Powell
98e4ddfb21
Use C++11 inline initialisation for class members.
2020-02-06 11:25:42 +00:00
Sadie Powell
0966ad5a0a
Make WritePID read directly from the config.
2020-02-06 01:53:16 +00:00
Sadie Powell
6da4987073
Merge branch 'insp3' into master.
2020-02-04 12:26:25 +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
1de6f5b4a9
Merge branch 'insp3' into master.
2020-01-17 12:36:09 +00:00
Sadie Powell
5ae6524522
Fix the ordering of custom event handlers.
...
Closes #1742 .
2020-01-17 11:27:31 +00:00