aboutsummaryrefslogtreecommitdiff
path: root/protocols
diff options
context:
space:
mode:
authorTest_User <hax@andrewyu.org>2024-06-15 07:37:23 -0400
committerTest_User <hax@andrewyu.org>2024-06-15 07:37:23 -0400
commitab2a2ab740e8f54254540f2a24eed9de8d878f5c (patch)
treeb5c65ddcca901ee58f9d99e9ee826c5152babaf8 /protocols
parent1238295ee3aaf63858ebb537020e84fefc1d1e63 (diff)
downloadhaxircd-ab2a2ab740e8f54254540f2a24eed9de8d878f5c.tar.gz
haxircd-ab2a2ab740e8f54254540f2a24eed9de8d878f5c.zip
More stuff
Diffstat (limited to 'protocols')
-rw-r--r--protocols/inspircd2.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/protocols/inspircd2.c b/protocols/inspircd2.c
index 688fb02..c8d944c 100644
--- a/protocols/inspircd2.c
+++ b/protocols/inspircd2.c
@@ -872,6 +872,14 @@ void inspircd2_protocol_introduce_user_to(size_t net, void *handle, struct user_
networks[net].send(handle, user->fullname);
networks[net].send(handle, STRING("\n"));
+ if (user->oper_type.len != 0) {
+ networks[net].send(handle, STRING(":"));
+ networks[net].send(handle, user->uid);
+ networks[net].send(handle, STRING(" OPERTYPE :"));
+ networks[net].send(handle, user->oper_type);
+ networks[net].send(handle, STRING("\n"));
+ }
+
if (join_channels) {
for (size_t i = 0; i < user->channel_list.len; i++) {
struct channel_info *channel = user->channel_list.array[i].ptr;