Bram Matthys
8c8b4279b8
Ignore case-changes in nicks, even though not clear yet if it should be,
...
https://bugs.unrealircd.org/view.php?id=6013 reported by progval.
2021-12-01 08:49:41 +01:00
Bram Matthys
4af7a541f8
Add 'oldnick' to HOOKTYPE_POST_LOCAL_NICKCHANGE and HOOKTYPE_POST_REMOTE_NICKCHANGE
2021-12-01 08:40:02 +01:00
Bram Matthys
38e47b9b62
Rename find_person() to find_user() to be consistent in the naming that
...
we use since UnrealIRCd 5: we have users (IsUser) and servers (IsServer).
2021-09-25 16:44:11 +02:00
Bram Matthys
8353a9e17b
Change char *parv[] to const char *parv[] everywhere. This is a BIG change.
...
It means you can no longer modify eg parv[1] in-place with strtoken and such.
The main reason for this is that as a command handler you have no idea
where the arguments may come from. It could be from a do_cmd() with
read-only storage (eg a string literal) and so on.
It started with an experiment of how far I could get and how annoying the
side-effects would be, but they seem to be quite managable, so I'm
committing this stuff.
Hopefully this catches/solves some stupid bugs somewhere :)
2021-09-11 16:02:44 +02:00
Bram Matthys
5bc244c1f3
Add a lot more consts. This finishes the work for all hooktypes.
2021-09-10 20:36:38 +02:00
Bram Matthys
66a51fb659
Massive conversions from 'char *' to 'const char *' and 'char **' to 'const char **'
2021-09-10 12:46:31 +02:00
Bram Matthys
9cdd90e848
Ignore remote MONITOR requests.
...
(Fixes crash with faulty S2S traffic)
2021-09-02 17:08:10 +02:00
k4be
f1bc9f37e1
Change watch notification hook to callback.
...
This fixes duplicate AWAY message with extended-monitor.
2021-08-25 09:02:24 +02:00
k4be
f4a915bbb7
Update watch_notification argument name
...
Fix WATCH crash caused by that argument
2021-08-24 20:19:50 +02:00
k4be
fe51aaf357
Add wATCH_EVENT defines
2021-08-24 19:58:05 +02:00
Bram Matthys
5154038d59
Code cleanup: replace "if(" with "if ("
2021-08-18 09:54:43 +02:00
Bram Matthys
471a97c5f6
Newlog: md, monitor, targetfloodprot, watch-backend, watch
2021-08-11 15:11:24 +02:00
Bram Matthys
4e5dd044f5
Require module header with version "unrealircd-6" now
2021-08-10 14:37:10 +02:00
k4be
5c9b7cf15f
Add MONITOR command and fix numerous problems with WATCH.
2021-07-21 20:23:07 +02:00