From 84f1fb566c3e0a0ced7a2e3d17cd23c24c8b5703 Mon Sep 17 00:00:00 2001 From: Nyo Date: Fri, 6 Jan 2017 12:55:50 +0100 Subject: [PATCH] .BANCHO. Removed dashes in when tracking notes for CM --- pubSubHandlers/changeUsernameHandler.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pubSubHandlers/changeUsernameHandler.py b/pubSubHandlers/changeUsernameHandler.py index 692538a..f816287 100644 --- a/pubSubHandlers/changeUsernameHandler.py +++ b/pubSubHandlers/changeUsernameHandler.py @@ -6,7 +6,7 @@ from objects import glob def handleUsernameChange(userID, newUsername, targetToken=None): try: - userUtils.appendNotes(userID, "-- Username change: '{}' -> '{}'".format(userUtils.getUsername(userID), newUsername)) + userUtils.appendNotes(userID, "Username change: '{}' -> '{}'".format(userUtils.getUsername(userID), newUsername)) userUtils.changeUsername(userID, newUsername=newUsername) if targetToken is not None: targetToken.kick("Your username has been changed to {}. Please log in again.".format(newUsername), "username_change")