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.

Undernet network.. "mode #chan +e" on join!?

Old posts that have not been replied to for several years.
User avatar
Adrenalin
Voice
Posts: 21
Joined: Sat Jan 29, 2005 10:32 am
Location: Moldova
Contact:

Undernet network.. "mode #chan +e" on join!?

Post by Adrenalin »

Today i sniffed a bit my eggdrop to see what he doing when join a Undernet channel..
I discover what for some reson, in addition to MODE #chan +b(to get channel bans) my bot send MODE #chan +e !?
In result.. Undernet IRCD generate a error..
:Some.Server.UnderNet.Org 472 BotNick6 e :is unknown mode char to me

I recheck my config to see if net-type is still 2(Undernet)..
set net-type 2
and
set network "Undernet"

Hum, i know, that is not a big problem, but how can i stop my eggy sending mode +e while joining some chan ?
Version of eggdrop is 1.6.17, OS Windows XP.
User avatar
demond
Revered One
Posts: 3073
Joined: Sat Jun 12, 2004 9:58 am
Location: San Francisco, CA
Contact:

Post by demond »

my Undernet bot (net-type 2) doesn't do that, even with use-exempts set to 1
User avatar
^DooM^
Owner
Posts: 772
Joined: Tue Aug 26, 2003 5:40 pm
Location: IronForge
Contact:

Post by ^DooM^ »

this topic has cropped up before except on a different network but same bot ver.

Click Me
The lifecycle of a noob is complex. Fledgling noobs gestate inside biometric pods. Once a budding noob has matured thru gestation they climb out of their pod, sit down at a PC, ask a bunch of questions that are clearly in the FAQ, The Noob is born
User avatar
Adrenalin
Voice
Posts: 21
Joined: Sat Jan 29, 2005 10:32 am
Location: Moldova
Contact:

Post by Adrenalin »

[16:50:46] <Adrenalin> .exempts all
[16:50:46] <ELeFANT3> [16:50] #Adrenalin# exempts all
[16:50:46] <ELeFANT3> Global exempts: (! = not active on #chan)
[16:50:46] <ELeFANT3> Channel exempts for #chan: (! = not active, * = not placed by bot)
[16:50:46] <ELeFANT3> (There are no ban exempts, permanent or otherwise.)

No exempts at all in the bot..

demond, have you sniffed your bot ?
User avatar
demond
Revered One
Posts: 3073
Joined: Sat Jun 12, 2004 9:58 am
Location: San Francisco, CA
Contact:

Post by demond »

Adrenalin wrote: No exempts at all in the bot..

demond, have you sniffed your bot ?
the fact that you are able to use exempt commands says you have exempts enabled (set use-exempts 1); net-type 2 has exempts implicitly disabled, so maybe you should double-check your config and scripts

there's no need to sniff the bot, console mode +v shows you everything eggdrop outputs to the server
User avatar
Adrenalin
Voice
Posts: 21
Joined: Sat Jan 29, 2005 10:32 am
Location: Moldova
Contact:

Post by Adrenalin »

Indeed, set use-exempts 0 and .chanset #chan -userexempts seem to resolve the problem!
Anyway, eggdrop still send a empty MODE without any flags.. <ELeFANT> [08:17] [!m] MODE #Chan
there's no need to sniff the bot, console mode +v shows you everything eggdrop outputs to the server
Nice trick, thanks.
User avatar
demond
Revered One
Posts: 3073
Joined: Sat Jun 12, 2004 9:58 am
Location: San Francisco, CA
Contact:

Post by demond »

MODE #chan is issued to obtain current channel modes
User avatar
YooHoo
Owner
Posts: 939
Joined: Thu Feb 13, 2003 10:07 pm
Location: Redwood Coast

Post by YooHoo »

i almost bit my tongue in half when I saw this....

Code: Select all

<YooHoo> .set use-exempts
<Noxx> [20:14] #YooHoo# set use-exempts
<Noxx> Currently: 1
I guess I took it for granted to be set to 0 by default if not otherwise defined in the conf file....like everything else....am i seeing things?
:mrgreen:
g
greenbear
Owner
Posts: 733
Joined: Mon Sep 24, 2001 8:00 pm
Location: Norway

Post by greenbear »

same thing here, i never defined mine and its 1 by default
User avatar
YooHoo
Owner
Posts: 939
Joined: Thu Feb 13, 2003 10:07 pm
Location: Redwood Coast

Post by YooHoo »

:lol: whew
ok, next question...where is this behaviour defined?
User avatar
demond
Revered One
Posts: 3073
Joined: Sat Jun 12, 2004 9:58 am
Location: San Francisco, CA
Contact:

Post by demond »

nowadays most ircds (sans ircu) implement ban exempts, hence eggdrop defaults this to enabled (unless overridden by net-type - that's only a guess, I haven't checked with sources)
User avatar
De Kus
Revered One
Posts: 1361
Joined: Sun Dec 15, 2002 11:41 am
Location: Germany

Post by De Kus »

YooHoo wrote::lol: whew
ok, next question...where is this behaviour defined?
have you bothered to search your eggdrop.conf for
# The following settings should be left commented unless the default values
# are being overridden. By default, exempts and invites are on for EFnet and
# IRCnet, but off for all other large networks. This behavior can be modified
# with the following 2 flags. If your network doesn't support +e/+I modes then
# you will be unable to use these features.
#
# Do you want to enable exempts (+e modes)?
#set use-exempts 1

# Do you want to enable invites (+I modes)?
#set use-invites 1
?
De Kus
StarZ|De_Kus, De_Kus or DeKus on IRC
Copyright © 2005-2009 by De Kus - published under The MIT License
Love hurts, love strengthens...
User avatar
YooHoo
Owner
Posts: 939
Joined: Thu Feb 13, 2003 10:07 pm
Location: Redwood Coast

Post by YooHoo »

well duh De Kus. I have the damn thing memorized even :wink: problem has made itself apparent... use-exempts is set to 1 by default on net-type 5 even if it is not defined in the conf file. As we all know (or i just thought?), if a variable is not defined in the conf file, it is set to 0...
:mrgreen:
User avatar
demond
Revered One
Posts: 3073
Joined: Sat Jun 12, 2004 9:58 am
Location: San Francisco, CA
Contact:

Post by demond »

YooHoo wrote:well duh De Kus. I have the damn thing memorized even :wink: problem has made itself apparent... use-exempts is set to 1 by default on net-type 5 even if it is not defined in the conf file. As we all know (or i just thought?), if a variable is not defined in the conf file, it is set to 0...
:mrgreen:
just you thought ;)
User avatar
De Kus
Revered One
Posts: 1361
Joined: Sun Dec 15, 2002 11:41 am
Location: Germany

Post by De Kus »

demond wrote:
YooHoo wrote:well duh De Kus. I have the damn thing memorized even :wink: problem has made itself apparent... use-exempts is set to 1 by default on net-type 5 even if it is not defined in the conf file. As we all know (or i just thought?), if a variable is not defined in the conf file, it is set to 0...
:mrgreen:
just you thought ;)
probably someone silently changed the net-type default settings... im too lazy to open the source code and look for it :D.
De Kus
StarZ|De_Kus, De_Kus or DeKus on IRC
Copyright © 2005-2009 by De Kus - published under The MIT License
Love hurts, love strengthens...
Locked