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

only one possible callback for each eventcode #1

Closed
soul9 opened this issue Oct 5, 2010 · 2 comments
Closed

only one possible callback for each eventcode #1

soul9 opened this issue Oct 5, 2010 · 2 comments

Comments

@soul9
Copy link

soul9 commented Oct 5, 2010

I tried to add two joins to eventcode 001 and this is how i discovered the bug (the default callbacs that are set up in setupcallbacks only add maximum one callback for each eventcode).

@soul9
Copy link
Author

soul9 commented Oct 9, 2010

I feel like a map[string]map[int] is simpler to use than a slice, so i modified it and it fixed the issue. The diff can be found on http://gist.github.com/618127 (now multiple events for the same event code work as expected)

@thoj
Copy link
Owner

thoj commented Oct 9, 2010

Thanks.. I fixed it in master. I did it a bit differently though.

This issue was closed.
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

2 participants