Expand version string in lsmod.
ptr = lsmod(i, &ver, &buildid, &t);
/* 9999d 24h 59m 59s fbf2a4a69ee1-tip */
ptr = lsmod(i, &ver, &buildid, &t);
/* 9999d 24h 59m 59s fbf2a4a69ee1-tip */
- controlreply((nick *)sender,"Module Loaded for Version Build id");
+ controlreply((nick *)sender,"Module Loaded for Version Build id");
- controlreply((nick *)sender," %-40s %-17s %-20s %s", ptr, longtoduration(t2-t, 2), ver?ver:"", buildid?buildid:"");
+ controlreply((nick *)sender," %-40s %-17s %-30s %s", ptr, longtoduration(t2-t, 2), ver?ver:"", buildid?buildid:"");
ptr = lsmod(++i, &ver, &buildid, &t);
}
} else {
ptr = lsmod(++i, &ver, &buildid, &t);
}
} else {
-MODULE_VERSION(LUA_FULLVERSION);
+MODULE_VERSION(LUA_SMALLVERSION);
#define LUA_AUXVERSION ""
#endif
#define LUA_AUXVERSION ""
#endif
-#define LUA_FULLVERSION "Lua engine v" LUA_BOTVERSION " (" LUA_VERSION LUA_AUXVERSION ")"
+#define LUA_SMALLVERSION "v" LUA_BOTVERSION " (" LUA_VERSION LUA_AUXVERSION ")"
+#define LUA_FULLVERSION "Lua engine " LUA_SMALLVERSION
/*** end defines ************************************/
/*** end defines ************************************/