diff options
author | Test_User <hax@andrewyu.org> | 2024-06-14 07:51:00 -0400 |
---|---|---|
committer | Test_User <hax@andrewyu.org> | 2024-06-14 07:51:00 -0400 |
commit | 80bd818208729b24262141b9068c427f9d8a097a (patch) | |
tree | 949aa0fd89866fe5909b8b9f4204e5cf66b0c4b0 /protocols.h | |
parent | 60865e2f58cf75447745c718491488fd6e232992 (diff) | |
download | haxircd-80bd818208729b24262141b9068c427f9d8a097a.tar.gz haxircd-80bd818208729b24262141b9068c427f9d8a097a.zip |
PRIVMSG/NOTICE support, improve kill_user
Diffstat (limited to 'protocols.h')
-rw-r--r-- | protocols.h | 3 |
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); }; |