Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

making ident unique to aid in moderation and permissions #51

Open
prdes opened this issue Aug 1, 2020 · 3 comments
Open

making ident unique to aid in moderation and permissions #51

prdes opened this issue Aug 1, 2020 · 3 comments

Comments

@prdes
Copy link

prdes commented Aug 1, 2020

https://github.com/qaisjp/go-discord-irc/blob/master/bridge/irc_manager.go#L139

Here instead of "discord" you could use User.id i believe to make the hostmask of the user unique ...
Since discord allows clashing nicks when the server restarts it may choose the nick and fallback randomly.
If i have granted myself perms to use say a bot it can unintentionally allow another user to use the same permissions upon bridge restart

@ramsey
Copy link

ramsey commented Nov 8, 2021

Found this issue while trying to figure out how to configure identd to respond with a unique user ID for each user.

The link in the original post should be to

innerCon := irc.IRC(nick, "discord")

That code no longer appears to be in irc_manager.go, so I'm not sure whether this issue is still relevant.

@qaisjp
Copy link
Owner

qaisjp commented Nov 28, 2021

I believe this is now configurable using puppet_username (assuming ident == username)

# puppet_username: "discord" # This will default to the discord username of the puppeted account

@qaisjp
Copy link
Owner

qaisjp commented Nov 28, 2021

But the setting by default uses the username, you might want to implement a special setting value like <id> so that it uses the user ID as the ident, instead of the Discord username

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants