mirror of
https://github.com/unrealircd/unrealircd.git
synced 2026-06-26 10:56:37 +02:00
4ac8015f84
'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....