mirror of
https://github.com/tbamud/tbamud.git
synced 2026-02-22 23:34:07 +01:00
Added Rhade's plist command, more cleanup of files and comments --Rumble
This commit is contained in:
parent
355095bdb6
commit
86568f9d4d
4 changed files with 231 additions and 273 deletions
|
|
@ -2144,6 +2144,9 @@ void add_history(struct char_data *ch, char *str, int type)
|
|||
struct txt_block *tmp = GET_HISTORY(ch, type);
|
||||
char time_str[MAX_STRING_LENGTH], buf[MAX_STRING_LENGTH];
|
||||
|
||||
if (IS_NPC(ch))
|
||||
return;
|
||||
|
||||
time_t ct = time(0);
|
||||
strftime(time_str, sizeof(time_str), "%H:%M ", localtime(&ct));
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue