set the config's nick when changing nick. this will be saved for next time
This commit is contained in:
parent
93c86257a0
commit
748b59a272
@ -117,6 +117,7 @@ def sub_change_nick(connection, event, nick, userhost, replypath, what, admin_un
|
||||
if what.split(' ')[0] == 'nick' and admin_unlocked:
|
||||
newnick = what.split(' ')[1]
|
||||
connection.nick(newnick)
|
||||
config.set('IRC', 'nick', newnick)
|
||||
connection.privmsg(replypath, 'changed nickname')
|
||||
|
||||
#####
|
||||
|
Loading…
Reference in New Issue
Block a user