Page 1 of 1

GUEST mode not working

Posted: Sun Apr 25, 2004 4:55 pm
by dvzion

I've been trying lately to use the GUEST mode (by this I mean, that when someone enters the chat and doesn't have a nick) it get's a GUEST123344

After looking through the source code I found that GUEST should be defined in /include/config.h but, by doing so I get an error:

s_user.c:1288:79: macro "RunHook" passed 5 arguments, but takes just 2
s_user.c: In function `m_nick':
s_user.c:1288: `RunHook' undeclared (first use in this function)
s_user.c:1288: (Each undeclared identifier is reported only once
s_user.c:1288: for each function it appears in.)
make[1]: *** [s_user.o] Error 1

Is there any way to get the GUEST mode/command back?

I have tried this on Unreal 3.2RC2Fix and Unreal 3.2

Posted: Mon Apr 26, 2004 6:30 am
by Ron2K
AFAIK, UnrealIRCd itself doesn't support nicks changing to "Guest*****" (which is, I assume, what you're trying to ask). Such functionality is provided by an external services package. Go to the Services forum for more information.

Posted: Mon Apr 26, 2004 11:25 am
by dvzion
I'll investigate things further but #define GUEST is in the sources and the userauth module from AngryWolf uses this (and it woked on RC1 I undertood - I have to check this out though).

I'll check the service modules, thanks for the tip.

Posted: Mon Apr 26, 2004 1:26 pm
by dvzion
One more thing. The m_guest.c module should implement the /guest command but ofc it depends on the #define GUEST from the config.h.

Posted: Mon Apr 26, 2004 2:18 pm
by Ron2K
Oh. You were referring to a /guest command (which I've never come across). I thought you were talking about nicks being changed to "Guest*****" by Services. Ignore that last post of mine then.

I've noticed that codemastr is online now, so he'll probably do better than my pathetic attempts in trying to help you out.

Posted: Mon Apr 26, 2004 5:36 pm
by aquanight
I'm assuming you're talking about using a /guest command to change a user's nick to "Guest????", right? If I'm wrong, then I didn't write this post ;) .

Services should provide a command to facilitate this to an extent. During my brief personal encounter with auspice, I've found that it has an OperServ GUEST command that forcefully changes someone's nick to "Guest??????".

Epona/Anope and (I think) IRC Services don't have such a command to do this directly (unless service admins can force NickServ RECOVER but this won't work on unregistered nicks). However, you can build your own Guest nick and send it to OperServ SVSNICK.

Either way, a /guest command would be difficult to implement and probably overall a bad idea because it circumvents the U-Line level permissions normally needed for forced nick-changes (a` la SVSNICK).

Posted: Mon Apr 26, 2004 7:25 pm
by dvzion
Thanks for the reply. I'll look into auspice and see what's the deal there.

Posted: Tue Apr 27, 2004 6:47 am
by AngryWolf
Oh, yeah, here's the result of reporting a bug in the wrong place. (Many user comments, but no answer from the coders at all.)