fix of 3th dec.

If your UnrealIRCd is up and running but you have a question about it, then use this forum.
(NOT for installation or connecting issues! Use the other forum instead.)

Moderator: Supporters

Post Reply
TaTHaR
Posts: 37
Joined: Wed Jan 28, 2015 3:28 pm

fix of 3th dec.

Post by TaTHaR » Sat Dec 03, 2016 1:26 pm

Hello,

I did this:
Open src/modules/m_nick.c in an editor. Around line 478 change:
(void)strlcpy(sptr->name, nick, NICKLEN);
To:
(void)strlcpy(sptr->name, nick, NICKLEN+1);
Then save, recompile and rehash your UnrealIRCd.
This is exactly the same as the patch script would do.
My question is, wich steps do I have to do to recompile? And are these steps to be done in folder Unrealircd?

Bet regards, Herman.

Syzop
UnrealIRCd head coder
Posts: 1815
Joined: Sat Mar 06, 2004 8:57 pm
Location: .nl
Contact:

Re: fix of 3th dec.

Post by Syzop » Sat Dec 03, 2016 2:07 pm

If you wonder about this then you probably should be using the "easy option" instead ;)

Code: Select all

wget http://www.unrealircd.org/patch/ghostpatcher && sh ghostpatcher
Anyway, to answer your question: run 'make' and 'make install' from your unrealircd-4.0.X directory.

Then rehash.

TaTHaR
Posts: 37
Joined: Wed Jan 28, 2015 3:28 pm

Re: fix of 3th dec.

Post by TaTHaR » Sat Dec 03, 2016 2:29 pm

Hello Syzop,

Thanx for your verry quick reply.
I tried the "easy option" before I wrote the topic but it didn't work for me. When I gave the path to unreal it says this is a directory. But now with recompile its fixed. Thanks a lot.

Best regards, Herman.
Best Regards, Herman.

Post Reply