On Saturday,December 27, 2025 at 04:57 PM, Xenos wrote:
+ case 'L':
+ if (a()->user()->data.lp_options & cfl_enable) {
+ a()->user()->data.lp_options &= ~cfl_enable;
+ } else {
+ a()->user()->data.lp_options |= cfl_enable;
+ };
+ break;
I'm revising this to shorter code below:
case 'L':
a()->user()->data.lp_options ^= cfl_enable;
break;
Isn't that neat? :)
Gotta hunt similar code and reduce to this form too.
-=<(xenos)>=-
A .-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-.
/*\ ] /\liens' /\lcove! WWIV on Linux, Taguig, Metro Manila, Philippines [
/ v \`-=-=-=-=-=-=-=-=-=-=-=-[ WWIV Development ]-=-=--=-=-=-=-=-=-=-=-=-=-'
ÿÿÿÿÿÿÿÿÿÿÿ
--- WWIVToss v.1.52
* Origin:
http://www.weather-station.org * Bel Air, MD -USA (11:1/101.0)