mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-02-05 22:28:18 +00:00
Uses more QDEL_NULLs
This commit is contained in:
@@ -213,8 +213,7 @@
|
||||
if("PRG_deletechannel")
|
||||
. = 1
|
||||
if(channel && ((channel.operator == src) || netadmin_mode))
|
||||
qdel(channel)
|
||||
channel = null
|
||||
QDEL_NULL(channel)
|
||||
if("PRG_setpassword")
|
||||
. = 1
|
||||
if(!channel || ((channel.operator != src) && !netadmin_mode))
|
||||
@@ -228,4 +227,4 @@
|
||||
if(newpassword == "nopassword")
|
||||
channel.password = ""
|
||||
else
|
||||
channel.password = newpassword
|
||||
channel.password = newpassword
|
||||
|
||||
Reference in New Issue
Block a user