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