EcKstasy Lurker

Joined: 23 May 2008 Posts: 149 Location: Scotland
|
Posted: Sep 07, 2008 10:27pm Post subject: IM-IRC bug (Constant rate warnings) |
|
|
Been trying to use IMIRC, but I've noticed it has some bugs, such as constant rate warnings when IM'ing a contact, example:
| Quote: | <Eck> AIMContactnick: Test.
<@IMServ> You're sending too fast! Slow down! We've been given a disconnect warning.
<@IMServ> Wait 0 seconds before sending anything. |
Then I started playing around with the source code. and found:
| Code: | sub oscar_rate_alert($$$$$) {
my($oscar, $level, $clear, $window, $worrisome) = @_;
my($screenname, $nick, $sndata) = callback_vars($oscar) or return;
return unless $worrisome;
irc_send(irc_privmsg($usnick, $nick, "You're sending too fast! Slow down! We've been given a $level warning.", "", "", $screenname));
$clear = int($clear / 1000);
irc_send(irc_privmsg($usnick, $nick, "Wait $clear seconds before sending anything.", "", "", $screenname));
} |
there is something wrong there, but i can't seem to figure it out. any ideas? |
|