removed polling from +PERMISSIONS, is now its own flag

This commit is contained in:
Intigracy
2016-08-11 20:01:16 -07:00
parent 92406bdbaa
commit da83eb27ef
5 changed files with 15 additions and 8 deletions

View File

@@ -1,7 +1,8 @@
/client/proc/create_poll()
set name = "Create Poll"
set category = "Special Verbs"
if(!check_rights(R_PERMISSIONS)) return
if(!check_rights(R_POLLING))
return
if(!dbcon.IsConnected())
src << "<span class='danger'>Failed to establish database connection.</span>"
return