From: Egor Date: Sat, 14 Feb 2026 05:19:35 +0000 (+0200) Subject: irc: notify ircops on account creation X-Git-Url: https://git.patchysicp.xyz/?a=commitdiff_plain;h=b0f9ebb1f64333e24c9ddebce44c122645efcbf6;p=patchyircd.git irc: notify ircops on account creation --- 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