Skip to content

Instantly share code, notes, and snippets.

@Raynes
Created November 24, 2011 23:03
Show Gist options
  • Save Raynes/1392481 to your computer and use it in GitHub Desktop.
Save Raynes/1392481 to your computer and use it in GitHub Desktop.
(defn- update-nicks [users old-nick new-nick]
(when users
(let [old-data (users old-nick)]
(assoc (dissoc users old-nick) new-nick old-data
)
)
)
)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment