From 6747653e902280a8a1898a43dde30655bb3b6bba Mon Sep 17 00:00:00 2001 From: Bram Matthys Date: Fri, 10 Jul 2015 12:36:08 +0200 Subject: [PATCH] update release notes on parv[0] (under MODULE CODERS) --- doc/RELEASE-NOTES | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/doc/RELEASE-NOTES b/doc/RELEASE-NOTES index 5a13b51dc..1be6f5fd8 100644 --- a/doc/RELEASE-NOTES +++ b/doc/RELEASE-NOTES @@ -217,6 +217,11 @@ listed on: https://www.unrealircd.org/docs/Upgrading_from_3.2.x write a module from scratch, the User & Channel Mode System, Commands, Command Overrides, Hooks, attaching custom-data to users/channels, and more. (A2+) +* For commands: do not read from parv[0] anymore, doing so will lead + to a crash. Use sptr->name instead. This change is necessary as + the "name" in parv[0] could possibly point to a UID/SID rather than + a nick name. Thus, if you would send parv[0] to a non-UID or non-SID + capable server this would lead to serious issues (not found errors). * Added MOD_OPT_PERM_RELOADABLE which permits reloading (eg: upgrades) but disallows unloading of a module (A3) * There have been *a lot* of source code cleanups (ALL)