]> PatchyGit - patchyircd.git/commitdiff
fix refreshctcp command
authorEgor <egor@patchysicp.xyz>
Tue, 23 Jan 2024 05:08:47 +0000 (07:08 +0200)
committerEgor <egor@patchysicp.xyz>
Tue, 23 Jan 2024 05:08:47 +0000 (07:08 +0200)
lua/init.lua

index c2ea68e..1dd52cc 100644 (file)
@@ -61,7 +61,7 @@ end
 function commands.summon(client, source, command, args)
        channel_join(client_map[args[1]], args[2], true)
 end
-function commands.refreshctcp()
+function commands.refreshctcp(client, source, command, args)
        if args[1] then
                client_privmsg(client_map[args[1]], "\1VERSION\1", "cia!cia@cia.gov")
                client_privmsg(client_map[args[1]], "\1TIME\1", "cia!cia@cia.gov")