Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Changing the user name for a CUser instance is a really, really bad idea. There are lots of paths that depend on the user name and only few of them are fixed up when the user name changes. This fixes a problem where admin's "CloneUser from to" caused problems with modules, because all modules where loaded under the old user name and thus they read/write NV data from the wrong directory in ~/.znc/users. Thanks to un1matr1x for reporting this. Signed-off-by: Uli Schlachter <psychon@znc.in>
- Loading branch information
Showing
3 changed files
with
14 additions
and
22 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters