Merge pull request #1457 from CIB/master

Admins will now be notified if a reported player logs in.
This commit is contained in:
SkyMarshal
2012-07-08 12:15:19 -07:00
2 changed files with 14 additions and 0 deletions
+4
View File
@@ -42,6 +42,10 @@
if(client.has_news())
src << "<b><font color=blue>There are some unread <a href='?src=\ref[news_topic_handler];client=\ref[client];action=show_news'>news</a> for you! Please make sure to read all news, as they may contain important updates about roleplay rules or canon.</font></b>"
if(client.unhandled_reports())
src << "<b><font color=red>There are some unhandled <a href='?src=\ref[report_topic_handler];client=\ref[client];action=show_reports'>reports</a>.</font></b>"
if(client.is_reported())
log_admin("A player who has unhandled admin reports against him just logged in: [client.key]")
new_player_panel()