mirror of
https://github.com/unrealircd/unrealircd.git
synced 2026-07-08 13:43:13 +02:00
Fixed missing 's' flag in oper::snomask causing not receiving any server notices (attempt II)
This commit is contained in:
@@ -1841,3 +1841,4 @@ seen. gmtime warning still there
|
||||
and "Socket is not connected"). (#0000677)
|
||||
- Added makefiles to compile with zip links @ windows (zlib needed).
|
||||
- Added '/stats zip' (Oper only, only usefull if ZIP_LINKS is defined).
|
||||
- Fixed missing 's' flag in oper::snomask causing not receiving any server notices.
|
||||
|
||||
@@ -289,6 +289,8 @@ DLLFUNC int m_oper(aClient *cptr, aClient *sptr, int parc, char *parv[]) {
|
||||
set_snomask(sptr, OPER_SNOMASK);
|
||||
else
|
||||
set_snomask(sptr, SNO_DEFOPER);
|
||||
if (sptr->user->snomask)
|
||||
sptr->user->snomask |= SNO_SNOTICE; /* set +s if needed */
|
||||
send_umode_out(cptr, sptr, old);
|
||||
sendto_one(sptr, rpl_str(RPL_SNOMASK),
|
||||
me.name, parv[0], get_sno_str(sptr));
|
||||
|
||||
Reference in New Issue
Block a user