Page 1 of 1

edit in m_whois.c for whois

Posted: Wed Jan 18, 2017 10:12 pm
by erkut79
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

Re: edit in m_whois.c for whois

Posted: Wed Jan 18, 2017 11:21 pm
by rcschaff
You could use the custom swhois in the oper block
oper::swhois


swhois "is a Network Administrator";

Re: edit in m_whois.c for whois

Posted: Thu Jan 19, 2017 3:59 am
by erkut79
swhois "is an IRC Helper";

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

Re: edit in m_whois.c for whois

Posted: Thu Jan 19, 2017 4:04 am
by rcschaff
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 ~[email protected] * 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.