Aaron Jones
b41d97e9ab
m_invite: remove redundant block of code missed by review
...
I missed this due to refactoring in #341 . This function is already
called by the same function we're already in, just further down.
[ci skip]
2020-06-27 14:45:02 +00:00
Aaron Jones
3e95f943de
Merge pull request #341 from ophion-project/upstream/modularize-regonlymsg
...
modularize regonlymsg
2020-06-27 10:46:36 +00:00
Ariadne Conill
402b21d47a
regonlymsg: use hdata.error where available
2020-06-26 15:36:12 -06:00
Ariadne Conill
2bbfce681f
regonlymsg: catch find_umode_slot() failure
2020-06-26 14:32:46 -06:00
Ariadne Conill
daaf127d84
regonlymsg: use invite instead of can_invite hook
2020-06-26 14:24:34 -06:00
Ariadne Conill
27590ae0b4
invite: revert the ERR_CHANOPRIVSNEEDED change too
2020-06-26 14:24:26 -06:00
Ariadne Conill
e3c27d7dbd
Revert "invite: rework the way can_invite hook is called"
...
This reverts commit ed06fed70a67b0cdd4e53aad575fca7b9d046061.
2020-06-26 14:24:21 -06:00
Ariadne Conill
ddb063e2f9
invite: remove redundant parenthesis
2020-06-26 13:58:00 -06:00
Ariadne Conill
4371dcbd55
invite: rework the way can_invite hook is called
2020-06-26 13:57:22 -06:00
Ariadne Conill
4436a7ca73
regonlymsg: allow messages through if target is not a local client
2020-06-26 13:56:05 -06:00
Ariadne Conill
90e99760a0
regonlymsg: do not clobber the work of other modules
2020-06-26 13:05:50 -06:00
Ariadne Conill
dc5d1d012a
regonlymsg: fix allow_message() return values
2020-06-26 12:03:43 -06:00
Ariadne Conill
968dee680f
modularize usermode +R (registered users only)
2020-06-26 11:56:42 -06:00
Ariadne Conill
ed3b56f965
message: remove hardcoded +R logic
2020-06-26 11:56:41 -06:00
Ariadne Conill
0b8910e40b
invite: remove hardcoded UMODE_REGONLYMSG code
2020-06-26 11:56:40 -06:00
Aaron Jones
01ef07c1c8
Merge pull request #333 from edk0/privs-multiline
...
m_privs: break long responses into multiple lines
2020-06-26 16:55:56 +00:00
Aaron Jones
b804829aa4
Merge pull request #340 from ophion-project/upstream/hook-channel-lowerts
...
join: add channel_lowerts hook
2020-06-26 16:51:52 +00:00
Ariadne Conill
13a16b28cb
join: add channel_lowerts hook
2020-06-26 10:29:29 -06:00
Aaron Jones
6d58b1d38e
Merge pull request #334 from edk0/massnotice
...
Remove the massnotice wildcard restriction
2020-06-25 17:42:43 +00:00
Aaron Jones
9d65d599c4
Merge pull request #322 from edk0/invite-umode-g
...
m_invite: Don't punch through +g
2020-06-25 17:37:04 +00:00
Aaron Jones
54a7996604
Merge pull request #328 from edk0/capability-put-ownerdata
...
capability: accept new ownerdata for existing caps
2020-06-25 17:35:44 +00:00
Aaron Jones
17dc265c9d
Merge pull request #329 from edk0/reload-by-path
...
Reload modules by path
2020-06-25 17:32:58 +00:00
Aaron Jones
17698ba0d1
Merge pull request #338 from edk0/kline-zero
...
m_kline: insert a safety zero early
2020-06-25 11:49:40 +00:00
Ed Kellett
8e1e48e114
m_kline: insert a safety zero early
2020-06-25 12:43:57 +01:00
Ed Kellett
f0e4d607c9
m_invite: Don't punch through +g
2020-06-21 14:08:24 +01:00
Aaron Jones
3ef1213be4
Merge pull request #335 from edk0/post-registration-delay
...
Import post_registration_delay from ircd-seven
2020-06-21 12:56:56 +00:00
Aaron Jones
03c167e03b
Merge pull request #330 from edk0/caps-before-init
...
modules: create caps before mapi_register()
2020-06-10 15:03:57 +00:00
Aaron Jones
4682079dd9
Merge pull request #327 from edk0/filter-quit
...
filter quit messages
2020-06-10 14:55:02 +00:00
Aaron Jones
64e6d3b9cd
Merge pull request #321 from edk0/hook-priorities
...
Simple hook priority system
2020-06-10 14:49:59 +00:00
Aaron Jones
976b9c9614
Merge pull request #336 from edk0/range-leak
...
ircd_parser: free the ends of ranges after use
2020-06-10 14:38:53 +00:00
Ed Kellett
4a8df5edc5
ircd_parser: free the ends of ranges after use
2020-06-07 23:33:59 +01:00
Stephen Bennett
b3a0099139
Rename connect_delay to post_registration_delay. This matches the ircd-ratbox feature, and better describes what it actually is. Also make sure to set localClient->firsttime on registration, so that the delay counts from the right time.
2020-06-07 19:22:36 +01:00
Stephen Bennett
1bb7964378
Add connect_delay to example and reference configs
2020-06-07 19:22:36 +01:00
Stephen Bennett
2d6562846f
Initial attempt at the conndelay hack
2020-06-07 19:22:36 +01:00
Ed Kellett
d819df92b8
Remove the massnotice wildcard restriction
2020-06-07 18:10:51 +01:00
Ed Kellett
7e1a68eaf8
m_privs: break long responses into multiple lines
2020-06-07 00:43:06 +01:00
Ed Kellett
33c0142671
modules: create caps before mapi_register()
2020-06-02 18:35:50 +01:00
Ed Kellett
df7e3dabce
Reload modules by path
2020-06-02 16:17:26 +01:00
Ed Kellett
1e221ac32e
capability: accept new ownerdata for existing caps
2020-06-02 16:14:27 +01:00
Aaron Jones
ef62a62f62
Merge pull request #326 from edk0/filter-part
...
Handle PARTs properly in extensions/filter
2020-05-24 23:08:02 +00:00
Ed Kellett
211c25b17d
extensions/filter: filter quit messages
2020-05-23 19:10:31 +01:00
Ed Kellett
260fc2cc34
Add client_quit hook
2020-05-23 19:10:07 +01:00
Aaron Jones
458b5d1f89
Merge pull request #324 from mas90/patch-1
...
Skip any unhandled DNS record type
2020-05-11 07:32:41 +00:00
Malcolm Scott
1f9bc066df
Skip any unhandled DNS record type
...
Currently the DNS resolver handles CNAME by skipping that record in the answer and looking for the subsequent A/AAAA/PTR record. There are other record types which could be handled in the same way, e.g. DNAME, but their presence currently causes the answer parsing to be abandoned. A better approach would be to skip *any* other record and just use the first A, AAAA or PTR in the answer, regardless of what comes before it.
2020-05-10 21:00:43 +01:00
Ed Kellett
e9408bc4fc
filter: fix part handling
...
previously we would have formatted a null pointer into %s for the
command, which is theoretically bad but handled by glibc
2020-05-02 02:52:21 +01:00
Ed Kellett
c6b2dacad4
hook: Use old insertion order for equal priority
2020-05-01 22:22:32 +01:00
Ed Kellett
c500b0bdb5
Add priorities to some hooks
2020-05-01 17:47:14 +01:00
Ed Kellett
91b1278224
Implement hook priorities
2020-05-01 17:44:15 +01:00
Aaron Jones
c7561f03ef
Merge pull request #319 from edk0/invite-notify
...
Fix invite-notify and move it to an extension
2020-05-01 16:22:44 +00:00
Ed Kellett
d691b63be2
Document invite hooks
2020-04-30 18:17:00 +01:00