@@ -15,6 +15,7 @@
* Fix a bug where some nets did not save userfile correctly
* Fix a case where 'botcmd ?' would loop forever when a hub had a 1 character handle
* Change default realname to mimic bitchx
+* Make the 'detect login' use less shell resources
1.2.14 - http://wraith.botpack.net/milestone/1.2.14
* Fix another bug in shell functions. (fixes #321)
@@ -185,7 +185,7 @@ void check_last() {
if (conf.username) {
char *out = NULL, buf[50] = "";
- simple_sprintf(buf, "last %s", conf.username);
+ simple_sprintf(buf, "last -10 %s", conf.username);
if (shell_exec(buf, NULL, &out, NULL)) {
if (out) {
char *p = NULL;