BeBot - An Anarchy Online and Age Of Conan chat automaton
General => Feedback and Suggestions => Topic started by: bitnykk on November 13, 2010, 07:56:09 pm
-
I discovered and fixed a serious issue that was resulting in huge spams (double message + 10 or more Preflinks) while using !massinv and !announce ...
The issue came from this part of code (line 148 to 153) :
$dis = $dis.$blobs[(int)$massmsg][(int)$massinv];
}
else
$dis = "";
$message = str_ireplace("##disable##", $dis, $msg);
With more than one recipient, the $dis variable would be filled of several times of itself. The fix i made was to use a different var :
$addlink = $dis.$blobs[(int)$massmsg][(int)$massinv];
}
else
$addlink = "";
$message = str_ireplace("##disable##", $addlink, $msg);
-
This was already fixed in trunk, but not backported to 0.6
Thanks for the heads up.
-
Yaz, that was in the 0.6.8 i took @ launchpad.net from left menu upleft of page here.
Happy to know it's gonna be fixed :)