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.
Old posts that have not been replied to for several years.
fox17
Voice
Posts: 13 Joined: Sun Dec 01, 2002 4:47 pm
Location: Russia/Moscow
Post
by fox17 » Sun Dec 01, 2002 4:58 pm
When user write HELLO to bot that bot put they account with mask *!name@*.vescom.ru! Can I'm set config or other that bot register new account whith *!*@adres.vescom.ru mask?
Sorry, I'm from Russia and my English is very bed =)
ppslim
Revered One
Posts: 3914 Joined: Sun Sep 23, 2001 8:00 pm
Location: Liverpool, England
Post
by ppslim » Sun Dec 01, 2002 5:12 pm
No - eggdrop currently only uses one mask style.
You can however, create your own function for adding users when the say ehllo, and create your own mask.
fox17
Voice
Posts: 13 Joined: Sun Dec 01, 2002 4:47 pm
Location: Russia/Moscow
Post
by fox17 » Mon Dec 02, 2002 7:59 am
1) How to create this funktion?
2) One man say that he's edit code in bot for it! Can you say haw and what edit? Or can you recive me edit code to
shubin@vescom.ru
Tns
ppslim
Revered One
Posts: 3914 Joined: Sun Sep 23, 2001 8:00 pm
Location: Liverpool, England
Post
by ppslim » Mon Dec 02, 2002 8:09 am
We don't usualy send details to e-mail addresses, as we prefer to keep it comunity knowledge.
The function for creating hostmasks is available in src/misc.c. THe function name is maskhost.
I have yet to see any message sayign that this function has been edited by eny1 in some way.
If a user has lead you to believe this, then you should speak to them.
fox17
Voice
Posts: 13 Joined: Sun Dec 01, 2002 4:47 pm
Location: Russia/Moscow
Post
by fox17 » Mon Dec 02, 2002 2:19 pm
hmmm...
What line modify @a.b.c to @*.b.c ?
And what edit to block this modify?
Thanks
ppslim
Revered One
Posts: 3914 Joined: Sun Sep 23, 2001 8:00 pm
Location: Liverpool, England
Post
by ppslim » Mon Dec 02, 2002 3:00 pm
As I stated, I don't know, and I am not aware of any web-page or e-mail thats states what to change.
It's a lot harder than simply change a.b.c to *.b.c
fox17
Voice
Posts: 13 Joined: Sun Dec 01, 2002 4:47 pm
Location: Russia/Moscow
Post
by fox17 » Mon Dec 02, 2002 3:22 pm
I do it!!!! Yeaaaa =)
Modify one line in src/misc.c (block code):
if ((!(p = strchr(q, '.')) || !(e = strchr(p + 1, '.'))) && !strchr(q, ':'))
to
if ((!(p = strchr(q, '~.~')) || !(e = strchr(p + 1, '~.~'))) && !strchr(q, ':'))
that's all