Skip to content

Commit

Permalink
modules/protocol/unreal4: Adjust default usermodes for service bots t…
Browse files Browse the repository at this point in the history
…o include TLS-only & hide ircop usermodes (#918)
  • Loading branch information
alicetries committed Feb 4, 2024
1 parent a2d1df6 commit 4e3dfaa
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions modules/protocol/unreal4.c
Original file line number Diff line number Diff line change
Expand Up @@ -323,9 +323,9 @@ unreal_introduce_nick(struct user *u)
const char *umode = user_get_umodestr(u);

if (!ircd->uses_uid)
sts("NICK %s 1 %lu %s %s %s 0 %sS * :%s", u->nick, (unsigned long)u->ts, u->user, u->host, me.name, umode, u->gecos);
sts("NICK %s 1 %lu %s %s %s 0 %szHS * :%s", u->nick, (unsigned long)u->ts, u->user, u->host, me.name, umode, u->gecos);
else
sts(":%s UID %s 1 %lu %s %s %s * %sS * * * :%s", ME, u->nick, (unsigned long)u->ts, u->user, u->host, u->uid, umode, u->gecos);
sts(":%s UID %s 1 %lu %s %s %s * %szHS * * * :%s", ME, u->nick, (unsigned long)u->ts, u->user, u->host, u->uid, umode, u->gecos);
}

static void
Expand Down

0 comments on commit 4e3dfaa

Please sign in to comment.