Changeset 8910

Show
Ignore:
Timestamp:
10/15/07 22:16:57 (13 months ago)
Author:
asterix
Message:

prevent file rename when new nick is the same as old nick.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/src/groupchat_control.py

    r8904 r8910  
    10071007                                                        os.path.join(path, puny_new_nick + ext) 
    10081008                                        for old_file in files: 
    1009                                                 if os.path.exists(old_file): 
     1009                                                if os.path.exists(old_file) and old_file != files[old_file]: 
    10101010                                                        if os.path.exists(files[old_file]): 
    10111011                                                                # Windows require this