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

Show client identification in notify_connect module #1195

Merged
merged 2 commits into from Nov 30, 2015

Conversation

oprypin
Copy link
Contributor

@oprypin oprypin commented Nov 26, 2015

If someone connects to ZNC as username@identifier/network, the module will now show that identifier. When the identifier is not provided, the behavior is unchanged.

[Notice] -*status- *** username@identifier detached (from 127.0.0.1)

@DarthGandalf
Copy link
Member

May you add a test for it?
At this point we have enough infrastructure to make this easy (make test2 and test/Integration.cpp)

@oprypin
Copy link
Contributor Author

oprypin commented Nov 27, 2015

If this module had tests, I would gladly extend them. But I have no idea how to add new ones.

@Mikaela
Copy link
Contributor

Mikaela commented Nov 27, 2015

Clientnotify could probably also use this change as I don't think it has identifier either.

@oprypin
Copy link
Contributor Author

oprypin commented Nov 27, 2015

@Mikaela Interesting. This change is even more relevant to clientnotify, and the module is more relevant to me, but I wasn't aware of it!

@Mikaela
Copy link
Contributor

Mikaela commented Nov 27, 2015

I believe that the two modules should be merged and same with automode/autoop. They do so similar thing and better than two separate modules would be just having options "notify me (admin) when someone else connects" or "notify me when other clients login as me". But that is a separate issue.

@oprypin
Copy link
Contributor Author

oprypin commented Nov 27, 2015

I investigated the testing facilities.
So make test2 requires sudo make install? No, thanks 😐

@DarthGandalf
Copy link
Member

why sudo?
./configure --prefix=/tmp/znc

2015-11-27 9:44 GMT+00:00 Oleh Prypin notifications@github.com:

I investigated the testing facilities.
So make test2 requires sudo make install? No, thanks [image:
😐]


Reply to this email directly or view it on GitHub
#1195 (comment).

@DarthGandalf
Copy link
Member

Oh, I've noticed you added the test...
Please comment in such cases; github doesn't notify about new commits in PR, but does about new comments.

@DarthGandalf DarthGandalf merged commit 50edbd5 into znc:master Nov 30, 2015
@DarthGandalf
Copy link
Member

Merged with this change: d736397

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

3 participants