send_error.h
send_error.h · 426 B
From the archive i3-server.tgz
Download the archive « Back to the archive contents
// This file written completely by Tim Johnson (Tim@TimMUD)
static void send_error(string mud, string user, string errcode, string errmsg, mixed *info){
if(!connected_muds[mud]){
debug("Can't send error to "+mud+" because they're not connected.");
return;
}
write_data(connected_muds[mud],({
"error",
5,
router_name,
0,
mud, // mud name
user, // user name
0,
errcode,
errmsg,
info
}));
return;
}