This is the new home of the egghelp.org community forum.
All data has been migrated (including user logins/passwords) to a new phpBB version.


For more information, see this announcement post. Click the X in the top right-corner of this box to dismiss this message.

detecting server ban

Old posts that have not been replied to for several years.
Locked
l
louie

Post by louie »

Hi,

Can anyone help me with a script that can detect a mode +b by a server? Just trying to make a script that will unban any ban that is placed due to netsplit (placed by the returning server). Thanks..

Louie
W
Wcc
Master
Posts: 278
Joined: Sun Oct 28, 2001 8:00 pm
Location: USA
Contact:

Post by Wcc »

Read the config file, just do 'set bounce-bans 1'.
User avatar
z_one
Master
Posts: 269
Joined: Mon Jan 14, 2002 8:00 pm
Location: Canada

Post by z_one »

I have the following in my .conf file but the bot is still not removing server bans after a netsplit. Any idea why ?
set bounce-bans 1
P
Petersen
Owner
Posts: 685
Joined: Thu Sep 27, 2001 8:00 pm
Location: Blackpool, UK

Post by Petersen »

detecting +b modes set by the server is done in exactly the same way as bans set by a user. the way to detect in the proc that its a server, is that userhost will not have a ! or @ in it, so a simple [string match *!*@* $userhost] will return 0 if its a server, and 1 if its a user.
Locked