mirror of
https://github.com/znc/znc.git
synced 2026-03-28 17:42:41 +01:00
Thanks to tylerdu who reported that cloning an admin user who got admin-only modules (e.g. listsockets) loaded skips those modules. This is fixed by handling modules last in CUser::Clone(). Other stuff like e.g. the Admin flag are now handled before the modules are and thus loading listsockets doesn't fail with "You must be admin to use this module". git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@1628 726aef4b-f618-498e-8847-2d620e286838
31 KiB
31 KiB