Skip to content
Snippets Groups Projects
Commit 9085607a authored by mcmlxxix's avatar mcmlxxix
Browse files

auto-op bug fix by rfrederick

parent 1eb9dd3b
No related branches found
No related tags found
No related merge requests found
......@@ -567,7 +567,7 @@ Server_Commands["JOIN"]= function (srv,cmd,onick,ouh) {
if (lvl >= 50) {
var usr = new User(system.matchuser(onick));
if (lvl >= 60)
srv.writeout("MODE " + cmd[1] + " +o " + onick);
srv.writeout("MODE " + cmd[0] + " +o " + onick);
if (usr.number > 0) {
if (usr.comment)
srv.o(cmd[0],"[" + onick + "] " + usr.comment);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment