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

Properly handle changing user mode #4

Merged
merged 1 commit into from Mar 29, 2011
Merged

Properly handle changing user mode #4

merged 1 commit into from Mar 29, 2011

Conversation

justinabrahms
Copy link
Contributor

There was no hooking into mode changes for dealing with changes in ops and such.

There is still a case which this code doesn't handle. I wasn't sure what you thought. If I +o (op) someone, then +v (voice) them, then -o them.. they're still voiced. It seems to me the best way to do this would be some sort of sorted list, but that seems a bit heavy. Perhaps a string of '@+' which, is altered on mode change? Seems like it would make the code heavier. This at least solves my use case (detecting op/deop). Will happily change the patch if you have other preferences.

@martynsmith martynsmith merged commit 5297ed5 into martynsmith:master Mar 29, 2011
@martynsmith
Copy link
Owner

I've just merged this change (sorry about being so slow on things)

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

Successfully merging this pull request may close these issues.

None yet

2 participants