As the title suggests, the gecos_replace module does not change the user's real name. Both with the mibbit client example, but also with other words (I don't use wildcards). I'm using Unrealircd 6.1.5, wondering if others using this module have the same problem.
Installed version 1.1.0
loadmodule "third/gecos_replace";
gecos-replace {
match "http://blablabla.com";
replace "https://something.net";
};
Thank you
Gecos Replace don't replace
Moderator: Supporters
Re: Gecos Replace don't replace
Hello David,
This module did stop working since Unrealircd 6 release, module creator has been notified but maybe he has been busy and hasn't updated/fixed to work with the latest UnrealIRCd versions.
This module did stop working since Unrealircd 6 release, module creator has been notified but maybe he has been busy and hasn't updated/fixed to work with the latest UnrealIRCd versions.
Re: Gecos Replace don't replace
thanks for the reply DonTCry, so waiting for an update
Re: Gecos Replace don't replace
So where was this notification posted, since I don't remember ever having seen anything?
Anyway, I just tested with the current 6.x-git and it replaces the gecos just fine. I think the problem you 2 are having is that while the match is case-insensitive, the actual replacement isn't. Which of course is pretty stupid, so I fixed that.
If you like my modules, consider donating (credit card or iDEAL, use the custom job fee option in my shop) ;];]
Re: Gecos Replace don't replace
Thanks Gottem, I upgraded but it still doesn't work, I don't use **
I also tested the mibbit example, and it doesn't work.
gecos-replace {
match "http://www.mibbit.com";
replace "WebUser";
};
I also tested the mibbit example, and it doesn't work.
gecos-replace {
match "http://www.mibbit.com";
replace "WebUser";
};
Re: Gecos Replace don't replace
Are you certain the value for the "match" is actually correct? I just tried connecting to my own server via chat.mibbit.com and it doesn't even use "http://www.mibbit.com" as the gecos (anymore), so of course it isn't going to be able to replace anything. Examples are just to show how to use something, that doesn't mean they will always work as-is. You're still expected to think about what you're doing. Perhaps you aren't even looking at the gecos?
If you like my modules, consider donating (credit card or iDEAL, use the custom job fee option in my shop) ;];]
Re: Gecos Replace don't replace
Yes, I checked and it uses http://www.mibbit.com
Host: [email protected].*.*
Real name: http://www.mibbit.com
I've tried everything but it doesn't change it, I checked otherwise I wouldn't write. You must generate your own mibbit widget (https://widget.mibbit.com) not via chat.mibbit.com
example: https://widget.mibbit.com/?&server=irc. ... tPass=true
Host: [email protected].*.*
Real name: http://www.mibbit.com
I've tried everything but it doesn't change it, I checked otherwise I wouldn't write. You must generate your own mibbit widget (https://widget.mibbit.com) not via chat.mibbit.com
example: https://widget.mibbit.com/?&server=irc. ... tPass=true
Re: Gecos Replace don't replace
Well even with that widget it still doesn't use the mibbit.com URL as gecos. Anyway, you should probably replace:
With:
So single quotes instead of double, otherwise Unreal might download the URL and use its HTML contents for the match and not the URL itself.
Code: Select all
match "http://www.mibbit.com";
Code: Select all
match 'http://www.mibbit.com';
If you like my modules, consider donating (credit card or iDEAL, use the custom job fee option in my shop) ;];]