View Single Post
03/18/18, 09:58 AM   #6
sirinsidiator
 
sirinsidiator's Avatar
AddOn Author - Click to view addons
Join Date: Apr 2014
Posts: 1,578
Removing it manually from the table when there is a nice function that will invalidate the cache for you is a bad idea. You don't know how the internal implementation will change in the future, so it might just break your addon when you do it like that. And as Shadowfen said, it will just force the slash command table from getting scanned again which is exactly what you want when you remove a command.
  Reply With Quote