1
0
mirror of https://github.com/unrealircd/unrealircd.git synced 2026-07-07 08:23:12 +02:00

Cleanup: register_user() now takes only 1 argument (client) instead of 5 arguments.

The last 3 were always NULL after the remote/local split from a few commits ago.
And nick and username were useless as well as client->name and
client->user->username were always already set.
This commit is contained in:
Bram Matthys
2021-08-13 11:06:30 +02:00
parent 77a7b3aca2
commit fa875d6fd4
7 changed files with 13 additions and 36 deletions
+1 -1
View File
@@ -41,7 +41,7 @@ void (*do_mode)(Channel *channel, Client *client, MessageTag *mtags, int parc, c
void (*set_mode)(Channel *channel, Client *client, int parc, char *parv[], u_int *pcount,
char pvar[MAXMODEPARAMS][MODEBUFLEN + 3], int bounce);
void (*cmd_umode)(Client *client, MessageTag *mtags, int parc, char *parv[]);
int (*register_user)(Client *client, char *nick, char *username, char *umode, char *virthost, char *ip);
int (*register_user)(Client *client);
int (*tkl_hash)(unsigned int c);
char (*tkl_typetochar)(int type);
int (*tkl_chartotype)(char c);