1
0
mirror of https://github.com/unrealircd/unrealircd.git synced 2026-06-12 17:14:46 +02:00

Updated Donation file, Added a 'B' flag to /who output for bots, and allowed normal users to /who +m B

This commit is contained in:
codemastr
2004-11-13 17:15:17 +00:00
parent fc78e50666
commit e964113964
4 changed files with 11 additions and 4 deletions
+3
View File
@@ -446,3 +446,6 @@
(#0002134) reported by Bugz.
- Fixed small memory leak on /rehash (post-3.2.2).
- Fixed botmotd crash due to last change (post-3.2.2).
- Updated the Donation file
- Added a 'B' flag to /who output for bots, and allowed normal users to /who +m B
(#0002096) suggested by White_Magic
+2 -2
View File
@@ -5,11 +5,11 @@ you like Unreal, and you'd like to see it continue to exist, please consider mak
a donation. We're not asking for anything huge, whatever you can afford is fine.
PayPal Donation Link:
<https://www.paypal.com/xclick/business=donation%40unrealircd.com&
<https://www.paypal.com/xclick/business=donation%40unrealircd.org&
item_name=UnrealIRCd+Donation&no_shipping=1&cn=Comments&tax=0&currency_code=USD>
Or simply send a payment through PayPal to:
donation@unrealircd.com
donation@unrealircd.org
If you don't want to use PayPal, or you want to donate something other than money
(old computer hardware, etc.), contact Stskeeps (stskeeps@unrealircd.com) and send
+1
View File
@@ -280,6 +280,7 @@ help Who {
" G - User is /away (gone)";
" H - User is not /away (here)";
" r - User is using a registered nickname";
" B - User is a bot (+B)";
" * - User is an IRC Operator";
" ~ - User is a Channel Owner (+q)";
" & - User is a Channel Admin (+a)";
+5 -2
View File
@@ -207,7 +207,7 @@ static void who_sendhelp(aClient *sptr)
"Flag h <host>: user has string <host> in his/her hostname,",
" wildcards accepted",
"Flag m <usermodes>: user has <usermodes> set, only",
" O/o/C/A/a/N are allowed",
" O/o/C/A/a/N/B are allowed",
"Flag n <nick>: user has string <nick> in his/her nickname,",
" wildcards accepted",
"Flag s <server>: user is on server <server>,",
@@ -353,7 +353,7 @@ int i = 1;
}
if (!IsAnOper(sptr))
*umodes = *umodes & (UMODE_OPER | UMODE_LOCOP | UMODE_SADMIN | UMODE_ADMIN | UMODE_COADMIN | UMODE_NETADMIN);
*umodes = *umodes & (UMODE_OPER | UMODE_LOCOP | UMODE_SADMIN | UMODE_ADMIN | UMODE_COADMIN | UMODE_NETADMIN | UMODE_BOT);
if (*umodes == 0)
return -1;
}
@@ -606,6 +606,9 @@ int i = 0;
if (IsARegNick(acptr))
status[i++] = 'r';
if (acptr->umodes & UMODE_BOT)
status[i++] = 'B';
if (IsAnOper(acptr) && (!IsHideOper(acptr) || sptr == acptr || IsAnOper(sptr)))
status[i++] = '*';