Merge pull request #2450 from tigercat2000/FUCKING_GOD_THIS_SHIT_ANNOYS_THE_FUCK_OUT_OF_ME

Add config option to disable same-CID popup "YOU'LL BE BANNED STOP IT"
This commit is contained in:
Fox McCloud
2015-11-03 00:00:27 -05:00
3 changed files with 10 additions and 2 deletions
+2 -1
View File
@@ -14,7 +14,8 @@
if( (M.computer_id == client.computer_id) )
if(matches) matches += " and "
matches += "ID ([client.computer_id])"
spawn() alert("You have logged in already with another key this round, please log out of this one NOW or risk being banned!")
if(!config.disable_cid_warn_popup)
spawn() alert("You have logged in already with another key this round, please log out of this one NOW or risk being banned!")
if(matches)
if(M.client)
message_admins("<font color='red'><B>Notice: </B><font color='blue'><A href='?src=\ref[usr];priv_msg=\ref[src]'>[key_name_admin(src)]</A> has the same [matches] as <A href='?src=\ref[usr];priv_msg=\ref[M]'>[key_name_admin(M)]</A>.</font>", 1)