Skip to content

Override in nickserv.c #46

@Aetherinox

Description

@Aetherinox

I noticed that there's a few commands in both your channel services and srvx.

/nickserv set karma
/nickserv set flags
/nickserv set fakehost

However, when trying to execute these commands, you get:

karma is a privileged setting.
fakehost is a privileged setting.

What exactly is the privilege?
I have 1000 with opserv, I'm authenticated with NickServ, and I have god / security override enabled. Yet it still says this.

It's being defined in /src/nickserv.c on like 150:
#define OPTION_FUNC(NAME) int NAME(UNUSED_ARG(struct svccmd *cmd), struct userNode *user, struct handle_info *hi, UNUSED_ARG(unsigned int override), int noreply, unsigned int argc, char *argv[])

And then on 3236 in /src/nickserv.c:
set_list(struct svccmd *cmd, struct userNode *user, struct handle_info *hi, int override)

Finally, on 3502 in /src/nickserv.c:

    if (!override) {
        if (!(noreply))
	    reply("MSG_SETTING_PRIVILEGED", argv[0]);
	return 0;
    }

I have peeled through the code, but I cannot execute these commands

The other issue I'm having is assigning a fakehost to a user. I tried the oset method, and I also tried with HostServ; however, the person always keeps the default hostname. I've also made sure the user has mode +x

Any help with this, and I swear I'd love you forever. I've been looking at this all day.

I've attempted to set a fake host via HostServ and NickServ, but it never changes my ident. It change is accepted, but my host on the server never changes. Even when I apply +x mode to my account and authenticate with NickServ.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions