Cleans up some Event Manager code

This commit is contained in:
Anewbe
2017-11-03 16:24:36 -05:00
parent 28e7426597
commit ae6583e5fb
7 changed files with 16 additions and 78 deletions
-15
View File
@@ -1223,21 +1223,6 @@ proc/admin_notice(var/message, var/rights)
if(istype(H))
H.regenerate_icons()
/*
helper proc to test if someone is an event manager or not. Got tired of writing this same check all over the place.
*/
/proc/is_eventM(client/C)
if(!istype(C))
return 0
if(!C.holder)
return 0
if(C.holder.rights == R_EVENT)
return 1
return 0
/proc/get_options_bar(whom, detail = 2, name = 0, link = 1, highlight_special = 1)
if(!whom)
return "<b>(*null*)</b>"