Bahamut / IRCtoo IRCd Invalid Username Hack / Fix

Discussion in 'Scripts/Documentation/FAQs' started by Dave, Jul 15, 2005.

  1. Dave Administrator

    This is to enable umode +c like display of Invalid Username error messages.

    This has been tested with Bahamut 1.8.3-irctoo.

    Freddie Agricola (derfy@derfy.net) - Dave Wintrip (dave@purevanity.net)


    In src/s_user.c, look for the following lines:

    sendto_realops_lev(REJ_LEV, "Invalid username: %s (%s@%s)",
    nick, user->username, user->host);

    Should be 4 such lines. (egrep -r -i 'REJ_LEV, "Invalid username:' * works for finding them all. Only the ones in src/s_user.c matter.)

    Change this into:

    sendto_realops_lev(REJ_LEV, "Invalid username: %s (%s@%s) [%s]",
    nick, user->username, user->host, sptr->hostip);


    Voila!

Share This Page