diff --git a/src/gencmd.c b/src/gencmd.c index 644b9a3..5c34a38 100644 --- a/src/gencmd.c +++ b/src/gencmd.c @@ -1,7 +1,7 @@ /* EnergyMech, IRC bot software - Copyright (c) 1997-2020 proton + Copyright (c) 1997-2025 proton This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -70,6 +70,7 @@ struct { 0, "RAND", "do_rand", 0 | CBANG | SUPRES }, #endif /* TOYBOX */ { 0, "CV", "do_convert", 0 | CBANG | SUPRES }, + { 0, "CALC", "do_calc", 0 | CBANG | SUPRES }, /* * Level 10 @@ -238,7 +239,7 @@ struct * Level 100 */ #ifdef HOSTINFO - { 0, "HOSTINFO", "do_hostinfo", 100 | CCPW | GAXS }, + { 0, "SYSINFO", "do_sysinfo", 100 | CCPW | GAXS }, { 0, "MEMINFO", "do_meminfo", 100 | CCPW | GAXS }, { 0, "CPUINFO", "do_cpuinfo", 100 | CCPW | GAXS }, { 0, "FILEMON", "do_filemon", 100 | CCPW | GAXS | CARGS },