kiwiirc / kiwibnc

Apache License 2.0
44 stars 14 forks source link

Allow forcing irc username to be the bnc's username #84

Closed ItsOnlyBinary closed 4 years ago

ItsOnlyBinary commented 4 years ago

Not sure if this is the best solution but it was the cleanest i could come up with.

note it only sets on new networks

closes #66

prawnsalad commented 4 years ago

The model is definitely not the place for this. Since this is an admin side of things and they may want to change it at any point, it seems that putting it here makes sense? https://github.com/kiwiirc/kiwibnc/blob/master/src/worker/connectionoutgoing.js#L168

Just creating the username (and perhaps even the realname too...) here based of the network info and the bnc config.