From b0f9ebb1f64333e24c9ddebce44c122645efcbf6 Mon Sep 17 00:00:00 2001 From: Egor Date: Sat, 14 Feb 2026 07:19:35 +0200 Subject: [PATCH] irc: notify ircops on account creation --- src/irc.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/irc.cpp b/src/irc.cpp index 7d7d998..6aed8b6 100644 --- a/src/irc.cpp +++ b/src/irc.cpp @@ -546,6 +546,10 @@ saslcleanup: msg_notice_server(hostname, client->nick, "Your information has been recorded. Contact IRCops for assistance with registration."); sendbuf(client); + copy_strf(&databuf, ":%s NOTICE * :Account '%s' pending registration (%s from %s)\r\n", hostname, args[0], client->nuh, client->peername); + for (auto cl : client_map) + if (cl->umode & UMODE_OPER) + sendbuf(cl); } MATCH_COMMAND("GHOST") { if (!(client->umode & UMODE_REGISTERED)) return false; // FIXME: error message -- 2.56.0