diff options
author | Test_User <hax@andrewyu.org> | 2024-06-17 18:40:14 -0400 |
---|---|---|
committer | Test_User <hax@andrewyu.org> | 2024-06-17 18:40:14 -0400 |
commit | 41dc6bfab38cabc2e2aa6ec5c78f878fafa0d108 (patch) | |
tree | c8d9533f1e5ddd0f8976924f64fa227cfc19b739 /stdin.lua | |
parent | ec8b1682e86535333c34966f6aafee349e609641 (diff) | |
download | lua_coupserv-41dc6bfab38cabc2e2aa6ec5c78f878fafa0d108.tar.gz lua_coupserv-41dc6bfab38cabc2e2aa6ec5c78f878fafa0d108.zip |
Lua CoupServ improvements
Diffstat (limited to 'stdin.lua')
-rw-r--r-- | stdin.lua | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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, } |