GUEST mode not working

These are old archives. They are kept for historic purposes only.
Posts: 12
Joined: Sat Apr 24, 2004 10:48 pm

GUEST mode not working

Post by dvzion » Sun Apr 25, 2004 4:55 pm


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


Post by Ron2K » Mon Apr 26, 2004 6:30 am

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.

Posts: 12
Joined: Sat Apr 24, 2004 10:48 pm

Post by dvzion » Mon Apr 26, 2004 11:25 am

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.

Posts: 12
Joined: Sat Apr 24, 2004 10:48 pm

Post by dvzion » Mon Apr 26, 2004 1:26 pm

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.


Post by Ron2K » Mon Apr 26, 2004 2:18 pm

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.

Official supporter
Posts: 862
Joined: Tue Mar 09, 2004 10:47 pm
Location: Boise, ID

Post by aquanight » Mon Apr 26, 2004 5:36 pm

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).

Posts: 12
Joined: Sat Apr 24, 2004 10:48 pm

Post by dvzion » Mon Apr 26, 2004 7:25 pm

Thanks for the reply. I'll look into auspice and see what's the deal there.

Posts: 554
Joined: Sat Mar 06, 2004 10:53 am
Location: Hungary

Post by AngryWolf » Tue Apr 27, 2004 6:47 am

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.)