1
0
mirror of https://github.com/unrealircd/unrealircd.git synced 2026-06-26 10:56:37 +02:00
Files
unrealircd/include
Bram Matthys 4ac8015f84 Remove 'cptr' from all commands, hooks, etc. It only confuses people and
'sptr' is sufficient and in most cases the only one you should care about.
Should you need it, you can access sptr->direction in cases where you
need the old information (usually only for some sendto_* functions
and some protoctl checks), so 'cptr' was redundant too.

[!] This change likely introduces some bugs. This was many hours of work.
I only cut some corners in 4 functions, which will be fixed at a later
stage..... yes, more major changes to come.

On the plus side, I likely fixed some bugs in the process. Situations
where cptr vs sptr usage was incorrect. Eg using cptr->name (near server)
when sptr->name should be used (the actual source server), etc....
2019-10-02 14:25:40 +02:00
..
2019-09-21 18:19:33 +02:00
2019-09-23 08:14:41 +02:00
2002-02-16 20:15:41 +00:00
2016-05-12 16:57:32 +08:00
2000-02-28 22:45:44 +00:00
2004-05-13 16:39:23 +00:00
2018-12-19 13:58:44 +01:00
2019-05-12 13:29:40 +02:00