mirror of
https://github.com/EnergyMech/energymech.git
synced 2025-12-29 16:14:43 +00:00
* Added: $guid to esay variables
* Added: New bigsay font: spider, use with .bigsay -spider cowabunga! * Fixed: Error in printing pointers would make lots of debug output go missing * Changed: Debug output (./energymech -d -o <file>) now appends instead of truncating * Fixed: Botnet auth messages now propagate correctly throughout the botnet
This commit is contained in:
@@ -269,6 +269,14 @@ void ec_ver(char *from, const char *to)
|
||||
nobo_strcpy(VERSION);
|
||||
}
|
||||
|
||||
void ec_guid(char *from, const char *to)
|
||||
{
|
||||
char tmp[32];
|
||||
|
||||
sprintf(tmp,"%i",current->guid);
|
||||
nobo_strcpy(tmp);
|
||||
}
|
||||
|
||||
LS const struct
|
||||
{
|
||||
void (*func)(char *, const char *);
|
||||
@@ -287,6 +295,7 @@ LS const struct
|
||||
{ ec_server, "$server", 7 },
|
||||
{ ec_up, "$up", 3 },
|
||||
{ ec_ver, "$ver", 4 },
|
||||
{ ec_guid, "$guid", 5 },
|
||||
{ NULL, "", 0 },
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user