summaryrefslogtreecommitdiff
path: root/stdin.lua
diff options
context:
space:
mode:
authorTest_User <hax@andrewyu.org>2024-06-17 18:40:14 -0400
committerTest_User <hax@andrewyu.org>2024-06-17 18:40:14 -0400
commit41dc6bfab38cabc2e2aa6ec5c78f878fafa0d108 (patch)
treec8d9533f1e5ddd0f8976924f64fa227cfc19b739 /stdin.lua
parentec8b1682e86535333c34966f6aafee349e609641 (diff)
downloadlua_coupserv-41dc6bfab38cabc2e2aa6ec5c78f878fafa0d108.tar.gz
lua_coupserv-41dc6bfab38cabc2e2aa6ec5c78f878fafa0d108.zip
Lua CoupServ improvements
Diffstat (limited to 'stdin.lua')
-rw-r--r--stdin.lua4
1 files changed, 2 insertions, 2 deletions
diff --git a/stdin.lua b/stdin.lua
index 4b69590..d7f159f 100644
--- a/stdin.lua
+++ b/stdin.lua
@@ -103,7 +103,7 @@ stdin_commands = {
for id, tbl in pairs(userlist) do
if tbl.nick == args[1] then
userlist[id].opertype = nil
- con:send(":1HC000000 MODE "..id.." -o\n")
+ con:send(":"..config.sid.."000000 MODE "..id.." -o\n")
print(args[1].." is no longer an oper.")
return
end
@@ -127,6 +127,6 @@ stdin_commands = {
end,
["M"] = function(con, msg, args)
- con:send(":1HC000000 PRIVMSG "..cur_channel.." :"..table.concat(args, " ").."\n")
+ con:send(":"..config.sid.."000000 PRIVMSG "..cur_channel.." :"..table.concat(args, " ").."\n")
end,
}