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

HIS_MODEWHO:FALSE appear as a originating server #35

Open
frootv opened this issue Feb 24, 2015 · 0 comments
Open

HIS_MODEWHO:FALSE appear as a originating server #35

frootv opened this issue Feb 24, 2015 · 0 comments

Comments

@frootv
Copy link

frootv commented Feb 24, 2015

based on discussions with Jobe @ #evilnet afternet several days ago regarding HIS_MODEWHO:FALSE showing ircop nickname in the channel when issuing /opmode or /clearmode

here is the lines need to be edited in the channel.c

/* Ok, if we were given the OPMODE flag, or its a server, hide the source.
*/
if (feature_bool(FEAT_HIS_MODEWHO) &&
(mbuf->mb_dest & MODEBUF_DEST_OPMODE ||
IsServer(mbuf->mb_source) ||
IsMe(mbuf->mb_source)))
app_source = &his;
else {
if (IsUser(mbuf->mb_source) && (mbuf->mb_dest & MODEBUF_DEST_OPMODE))
app_source = cli_user(mbuf->mb_source)->server;
else
app_source = mbuf->mb_source;
}

it will make /opmode or /clearmode appear as a server which the ircop connected

thank you.

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

1 participant