edit in m_whois.c for whois

Need a module converted from 3.2.x to UnrealIRCd 4? Or looking for a certain module? Ask here.

Moderators: Gottem, Supporters

Post Reply
erkut79
Posts: 20
Joined: Thu Jun 09, 2016 2:16 am

edit in m_whois.c for whois

Post by erkut79 » Wed Jan 18, 2017 10:12 pm

move oper line in whois to unreal 3.2 ?

unreal 4 is
Jr is an IRC Operator (Jr) [netadmin]

but users see only
Jr is an IRC Operator

any edit for this to unreal 3.2 ?
Jr is a Network Administrator
or
Jr is an IRC Operator - Network Administrator

rcschaff
Posts: 53
Joined: Sun Jan 15, 2017 5:06 pm

Re: edit in m_whois.c for whois

Post by rcschaff » Wed Jan 18, 2017 11:21 pm

You could use the custom swhois in the oper block
oper::swhois


swhois "is a Network Administrator";

erkut79
Posts: 20
Joined: Thu Jun 09, 2016 2:16 am

Re: edit in m_whois.c for whois

Post by erkut79 » Thu Jan 19, 2017 3:59 am

swhois "is an IRC Helper";

using Helper on swhois :S
Unreal 4 not have +h mode :S

rcschaff
Posts: 53
Joined: Sun Jan 15, 2017 5:06 pm

Re: edit in m_whois.c for whois

Post by rcschaff » Thu Jan 19, 2017 4:04 am

you can have multiple swhois in unrealircd4. so you can have

swhois "is a Network Administrator";
swhois "is available for help";


Ex:
My Config...
oper cards {
mask *;
password "(Hidden)" { sha1; };
class opers;
operclass netadmin-full-override;
vhost "NetAdmin.420-HighTimes.Com";
swhois "is Co-Owner & Repair Coordinator";
swhois "is a Network Administrator";
};

What IRC Says:

cards is ~cards@NetAdmin.420-HighTimes.Com * cards
cards is using modes +iowsxtD +kcfvGqsob
cards is connecting from *@(hidden) (Hidden)
cards on @#hightimes-lounge @#Staff
cards using whitewidow.420-hightimes.com 420-HighTimes Network
cards is an IRC Operator (cards) [netadmin-full-override]
cards is Co-Owner & Repair Coordinator
cards is a Network Administrator
cards has been idle 74hrs 32mins 46secs, signed on Sun Jan 15 20:33:06 2017
cards End of /WHOIS list.

Post Reply