summaryrefslogtreecommitdiff
path: root/network.h
diff options
context:
space:
mode:
authorTest_User <hax@andrewyu.org>2023-08-09 23:32:29 -0400
committerTest_User <hax@andrewyu.org>2023-08-09 23:32:29 -0400
commitbe4a88382717cb297d7aefadedb32d5f9c41ffb1 (patch)
treef6c2447e15e6556d7ded946bae7e2b9455ca9ea2 /network.h
parent0a4de3b7f0159fc44f87996e1d25678e3b456878 (diff)
downloadcoupserv-be4a88382717cb297d7aefadedb32d5f9c41ffb1.tar.gz
coupserv-be4a88382717cb297d7aefadedb32d5f9c41ffb1.zip
s/PRIVMSG/privmsg/ for the function, fix privmsg a bit
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 e08a289..124b21d 100644
--- a/network.h
+++ b/network.h
@@ -108,6 +108,6 @@ extern char channel_mode_types[UCHAR_MAX];
#define SENDCLIENT(x) write(client_fd, x.data, x.len)
-extern int PRIVMSG(struct string source, struct string target, struct string message);
+extern int privmsg(struct string source, struct string target, struct string message);
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);