Fixes note search log + Minor TGUI fix

This commit is contained in:
AffectedArc07
2020-07-01 07:48:46 +01:00
parent 58aa86cb9f
commit 37f1cf5ee9
2 changed files with 3 additions and 3 deletions

View File

@@ -187,12 +187,12 @@
log_game("SQL ERROR obtaining ckey from notes table. Error : \[[err]\]\n")
return
to_chat(usr, "<span class='notice'>Started regex note search for [search]. Please wait for results...</span>")
message_admins("[usr] has started a note search with regex [search]. CPU usage may be higher.")
message_admins("[usr.ckey] has started a note search with the following regex: [search] | CPU usage may be higher.")
while(query_list_notes.NextRow())
index_ckey = query_list_notes.item[1]
output += "<a href='?_src_=holder;shownoteckey=[index_ckey]'>[index_ckey]</a><br>"
CHECK_TICK
message_admins("The note search started by [usr] has complete. CPU should return to normal.")
message_admins("The note search started by [usr.ckey] has complete. CPU should return to normal.")
else
output += "<center><a href='?_src_=holder;addnoteempty=1'>\[Add Note\]</a></center>"
output += ruler