strip user flags on reload (mrhunt)

This commit is contained in:
David Anderson 2004-09-13 06:17:47 +00:00
parent 35ffbf8ca6
commit 22bac3c8f4

View File

@ -214,6 +214,8 @@ public cmdReload(id,level,cid) {
if (!cmd_access(id,level,cid,1)) if (!cmd_access(id,level,cid,1))
return PLUGIN_HANDLED return PLUGIN_HANDLED
//strip original flags (patch submitted by mrhunt)
remove_user_flags(0,read_flags("z"))
#if !defined USING_SQL #if !defined USING_SQL
new filename[128] new filename[128]
get_configsdir(filename,127) get_configsdir(filename,127)