Work at SourceForge, help us to make it a better place! We have an immediate need for a Support Technician in our San Francisco or Denver office.

Close

#8 SmartIRC disconnects after repeat login attempt

closed
Mirco Bauer
None
5
2003-07-07
2003-07-06
Andy Lindeman
No

I've been using the SmartIRC CVS code for a while, and
have been happy with it. Lately, however, my bot joins
the irc net and channel and works happily for a while.
After a few minutes, however, I get a debugging
message on the terminal (see below) and the bot exits
the network ("remote closed the connection")

Jul 06 18:01:47 SmartIRC.php(1074) DEBUG_NOTICE:
login() usermode () is not valid, will use 0 instead

The bot process still runs as if it's connected, but
it's not...This is the latest CVS code...

Discussion

  • Andy Lindeman
    Andy Lindeman
    2003-07-06

    Logged In: YES
    user_id=552767

    Sorry, a little more info. The bot stays on the network,
    but leaves all the channels. Weird...

     
  • Mirco Bauer
    Mirco Bauer
    2003-07-07

    Logged In: YES
    user_id=598557

    yes this sounds weird, it could be a problem in the
    autoreconnect code.. if he leaves all channels... thats the
    preparing of reconnecting... can you post the full debug log?
    That "Jul 06 18:01:47 SmartIRC.php(1074) DEBUG_NOTICE:
    login() usermode () is not valid, will use 0 instead" is
    just a notice and can be ignored, but it means that you
    didn't pass a number as usermode on the connect method...
    probably you tried "+i" or something which is not allowed on
    the connect, it needs a numeric value... but this is not the
    problem :)
    So please post a full debug log with DEBUG_ALL, its ok if
    its a bit longer :)

     
  • Mirco Bauer
    Mirco Bauer
    2003-07-07

    • assigned_to: nobody --> meebey
     
  • Andy Lindeman
    Andy Lindeman
    2003-07-07

    • status: open --> closed
     
  • Andy Lindeman
    Andy Lindeman
    2003-07-07

    Logged In: YES
    user_id=552767

    Nevermind, a code mod I added was interfering with it...