From 0e426a3395a95f08b47bdad512a0eaabbc5701d4 Mon Sep 17 00:00:00 2001 From: Nakidai Perumenei Date: Wed, 2 Dec 2026 20:52:27 +0300 Subject: Move announcing code to writef.c Well, I guess that code is needed more then once, so it'll be good to move it to some function --- ircd.h | 1 + 1 file changed, 1 insertion(+) (limited to 'ircd.h') diff --git a/ircd.h b/ircd.h index 8def73a..0cb20dc 100644 --- a/ircd.h +++ b/ircd.h @@ -98,6 +98,7 @@ int parse_message(char *buf, struct Message *msg); int handle(struct Peer *peer); int reply(const struct Peer *peer, int number, ...); Handler *find(const char *command); +void announce(struct Peer *peer, const char *fmt, ...); int writef(int fd, const char *fmt, ...); int writechanf(const struct Peer *except, const struct Channel *channel, const char *fmt, ...); void ircd(void); -- cgit 1.4.1