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

IsPerson() -> IsUser(), MyClient() -> MyUser(), etc.

This so we have a few simple concepts:
Client: this can be a user, server, or something unknown yet
Then the type of clients:
User: this is a user, someone with a nick name.
Server: this is a server
Etc.
This commit is contained in:
Bram Matthys
2019-09-11 17:43:17 +02:00
parent fcf0ff4e3c
commit bf2c5110db
117 changed files with 376 additions and 377 deletions
+1 -1
View File
@@ -317,7 +317,7 @@ int moddata_client_set(Client *acptr, char *varname, char *value)
/* If 'sync' field is set and the client is not in pre-registered
* state then broadcast the new setting.
*/
if (md->sync && (IsPerson(acptr) || IsServer(acptr) || IsMe(acptr)))
if (md->sync && (IsUser(acptr) || IsServer(acptr) || IsMe(acptr)))
broadcast_md_client_cmd(NULL, &me, acptr, md->name, value);
return 1;