Commit 02023ddd authored by Andrew Price's avatar Andrew Price

Remove some obsolete timestamp assignments

parent b36f27e2
Pipeline #564 passed with stage
in 8 minutes and 7 seconds
......@@ -25,7 +25,6 @@ int announce_logon(const char *usr, int type, int quiet)
ipcmsg_destination(msg, SYSTEM_USER);
ipcmsg_json_encode(msg, j);
json_decref(j);
msg->head.when = time(NULL);
ipcmsg_transmit(msg);
return 0;
}
......@@ -49,7 +48,6 @@ int announce_logoff(const char *usr, int type, const char *agent, const char *re
ipcmsg_destination(msg, SYSTEM_USER);
ipcmsg_json_encode(msg, j);
json_decref(j);
msg->head.when = time(NULL);
ipcmsg_transmit(msg);
return 0;
}
......@@ -72,7 +70,6 @@ int announce_join(const char *usr, int channel, int type, const char *agent, int
ipcmsg_destination(msg, SYSTEM_USER);
ipcmsg_json_encode(msg, j);
json_decref(j);
msg->head.when = time(NULL);
ipcmsg_transmit(msg);
return 0;
}
......@@ -97,7 +94,6 @@ int announce_leave(const char *usr, int channel, int type, const char *agent, co
ipcmsg_destination(msg, SYSTEM_USER);
ipcmsg_json_encode(msg, j);
json_decref(j);
msg->head.when = time(NULL);
ipcmsg_transmit(msg);
return 0;
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment