]> git.pond.sub.org Git - empserver/blobdiff - src/lib/player/dispatch.c
New journal event command
[empserver] / src / lib / player / dispatch.c
index f5fae8291561a652632de4af7f1922d5861a22d1..0ee31a871f9232ccc5ee6da86a55aaac5c034252 100644 (file)
@@ -38,6 +38,7 @@
 #include "com.h"
 #include "empio.h"
 #include "file.h"
+#include "journal.h"
 #include "match.h"
 #include "misc.h"
 #include "nat.h"
@@ -94,6 +95,7 @@ dispatch(char *buf, char *redir)
        uprnf(buf);
        pr("\n");
     }
+    journal_command(command->c_form);
     switch (command->c_addr()) {
     case RET_OK:
        player->btused += command->c_cost;