mirror of
https://github.com/unrealircd/unrealircd.git
synced 2026-06-29 15:06:37 +02:00
5871bd9463
This will communicate the original issuer of a command. For example an "SAMODE #test +s" results in a SAMODE coming from :maintest.test.net MODE ....etc.... And with this feature, we will communicate the IRCOp who did it: @unrealircd.org/issued-by=OPER:Syzop..etc.... This tag is only sent to servers and to IRCOps, not to ordinary users. The plan is to support the following variants: Services: unrealircd.org/issued-by=SERVICES:NickServ@services.test.net IRCOp: unrealircd.org/issued-by=OPER:Syzop@maintest.test.net:Operblock_name JSON-RPC: unrealircd.org/issued-by=RPC:adminpanel@irc1.test.net:Adminpanel_Actual_User This first commit only adds SERVICES and OPER in the handlers of the SVSNICK and SAMODE commands. The JSON-RPC variant and all of the other commands have not been done yet.