aboutsummaryrefslogtreecommitdiff
path: root/protocols.h
diff options
context:
space:
mode:
authorTest_User <hax@andrewyu.org>2024-06-14 07:51:00 -0400
committerTest_User <hax@andrewyu.org>2024-06-14 07:51:00 -0400
commit80bd818208729b24262141b9068c427f9d8a097a (patch)
tree949aa0fd89866fe5909b8b9f4204e5cf66b0c4b0 /protocols.h
parent60865e2f58cf75447745c718491488fd6e232992 (diff)
downloadhaxircd-80bd818208729b24262141b9068c427f9d8a097a.tar.gz
haxircd-80bd818208729b24262141b9068c427f9d8a097a.zip
PRIVMSG/NOTICE support, improve kill_user
Diffstat (limited to 'protocols.h')
-rw-r--r--protocols.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/protocols.h b/protocols.h
index 91b0110..6589af3 100644
--- a/protocols.h
+++ b/protocols.h
@@ -46,6 +46,9 @@ struct protocol {
void (*propagate_join_channel)(struct string from, struct channel_info *channel, size_t user_count, struct user_info **users);
void (*propagate_part_channel)(struct string from, struct channel_info *channel, struct user_info *user, struct string reason);
+ void (*propagate_privmsg)(struct string from, struct string source, struct string target, struct string msg);
+ void (*propagate_notice)(struct string from, struct string source, struct string target, struct string msg);
+
void (*do_unlink)(struct string from, struct server_info *a, struct server_info *b);
};