Skip to content

Commit

Permalink
Change rules to use link.
Browse files Browse the repository at this point in the history
  • Loading branch information
george99g committed Jun 17, 2016
1 parent c95bb67 commit 4e2789c
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions interface/interface.dm
Original file line number Diff line number Diff line change
Expand Up @@ -27,13 +27,13 @@
set name = "Rules"
set desc = "Show Server Rules."
set hidden = 1
/*if(config.rulesurl)
if(config.rulesurl)
if(alert("This will open the rules in your browser. Are you sure?",,"Yes","No")=="No")
return
src << link(config.rulesurl)
else
src << "<span class='danger'>The rules URL is not set in the server configuration.</span>"*/
src << browse(file('html/rules.html'), "window=rules;size=700x700")
src << "<span class='danger'>The rules URL is not set in the server configuration.</span>"
//src << browse(file('html/rules.html'), "window=rules;size=700x700")
return

/client/verb/github()
Expand Down

0 comments on commit 4e2789c

Please sign in to comment.