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:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user