summaryrefslogtreecommitdiff
path: root/network.h
diff options
context:
space:
mode:
authorTest_User <hax@andrewyu.org>2023-08-10 03:20:10 -0400
committerTest_User <hax@andrewyu.org>2023-08-10 03:20:10 -0400
commit833f715ec2a6917c0afb4300e6505b135410ec3a (patch)
tree2db0dede15484873564ee3f56b7f7bddbf8cf805 /network.h
parentc58679ab1055fc48e31ebc661d38f470bdec3142 (diff)
downloadcoupserv-833f715ec2a6917c0afb4300e6505b135410ec3a.tar.gz
coupserv-833f715ec2a6917c0afb4300e6505b135410ec3a.zip
privmsg() now takes an array rather than a single string, more stuff switched from server-only to privmsg()
Diffstat (limited to 'network.h')
-rw-r--r--network.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/network.h b/network.h
index 539d052..a20deb3 100644
--- a/network.h
+++ b/network.h
@@ -112,6 +112,6 @@ extern ssize_t SENDCLIENT(struct string msg);
#define SENDCLIENT(x) write(client_fd, x.data, x.len)
#endif
-extern int privmsg(struct string source, struct string target, struct string message);
+extern int privmsg(struct string source, struct string target, size_t num_message_parts, struct string message[num_message_parts]);
extern int add_local_client(struct string uid, struct string nick_arg, struct string vhost_arg, struct string ident_arg, struct string realname_arg, time_t timestamp);
extern int remove_user(struct string uid, struct string reason);