Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make most snotes NETWIDE #93

Draft
wants to merge 2 commits into
base: main
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 0 additions & 4 deletions extensions/Makefile.am
Original file line number Diff line number Diff line change
Expand Up @@ -41,10 +41,6 @@ extension_LTLIBRARIES = \
override_kick_immunity.la \
restrict-unauthenticated.la \
sno_channelcreate.la \
sno_farconnect.la \
sno_globalkline.la \
sno_globalnickchange.la \
sno_globaloper.la \
umode_noctcp.la \
m_adminwall.la \
m_echotags.la \
Expand Down
82 changes: 0 additions & 82 deletions extensions/sno_farconnect.c

This file was deleted.

64 changes: 0 additions & 64 deletions extensions/sno_globalkline.c

This file was deleted.

46 changes: 0 additions & 46 deletions extensions/sno_globalnickchange.c

This file was deleted.

39 changes: 0 additions & 39 deletions extensions/sno_globaloper.c

This file was deleted.

4 changes: 2 additions & 2 deletions include/s_assert.h
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@
ilog(L_MAIN, \
"file: %s line: %d (%s): Assertion failed: (%s)", \
__FILE__, __LINE__, __PRETTY_FUNCTION__, #expr), 0) || (\
sendto_realops_snomask(SNO_GENERAL, L_ALL, \
sendto_realops_snomask(SNO_GENERAL, L_NETWIDE, \
"file: %s line: %d (%s): Assertion failed: (%s)", \
__FILE__, __LINE__, __PRETTY_FUNCTION__, #expr), 0) \
)
Expand All @@ -48,7 +48,7 @@
ilog(L_MAIN, \
"file: %s line: %d: Assertion failed: (%s)", \
__FILE__, __LINE__, #expr), 0) || ( \
sendto_realops_snomask(SNO_GENERAL, L_ALL, \
sendto_realops_snomask(SNO_GENERAL, L_NETWIDE, \
"file: %s line: %d: Assertion failed: (%s)" \
__FILE__, __LINE__, #expr), 0) \
)
Expand Down
12 changes: 6 additions & 6 deletions ircd/authproc.c
Original file line number Diff line number Diff line change
Expand Up @@ -229,23 +229,23 @@ cmd_oper_warn(int parc, char **parv)
switch(*parv[1])
{
case 'D': /* Debug */
sendto_realops_snomask(SNO_DEBUG, L_ALL, "authd debug: %s", parv[2]);
sendto_realops_snomask(SNO_DEBUG, L_NETWIDE, "authd debug: %s", parv[2]);
idebug("authd: %s", parv[2]);
break;
case 'I': /* Info */
sendto_realops_snomask(SNO_GENERAL, L_ALL, "authd info: %s", parv[2]);
sendto_realops_snomask(SNO_GENERAL, L_NETWIDE, "authd info: %s", parv[2]);
inotice("authd: %s", parv[2]);
break;
case 'W': /* Warning */
sendto_realops_snomask(SNO_GENERAL, L_ALL, "authd WARNING: %s", parv[2]);
sendto_realops_snomask(SNO_GENERAL, L_NETWIDE, "authd WARNING: %s", parv[2]);
iwarn("authd: %s", parv[2]);
break;
case 'C': /* Critical (error) */
sendto_realops_snomask(SNO_GENERAL, L_ALL, "authd CRITICAL: %s", parv[2]);
sendto_realops_snomask(SNO_GENERAL, L_NETWIDE, "authd CRITICAL: %s", parv[2]);
ierror("authd: %s", parv[2]);
break;
default: /* idk */
sendto_realops_snomask(SNO_GENERAL, L_ALL, "authd sent us an unknown oper notice type (%s): %s", parv[1], parv[2]);
sendto_realops_snomask(SNO_GENERAL, L_NETWIDE, "authd sent us an unknown oper notice type (%s): %s", parv[1], parv[2]);
ilog(L_MAIN, "authd unknown oper notice type (%s): %s", parv[1], parv[2]);
break;
}
Expand Down Expand Up @@ -389,7 +389,7 @@ static void
restart_authd_cb(rb_helper * helper)
{
iwarn("authd: restart_authd_cb called, authd died?");
sendto_realops_snomask(SNO_GENERAL, L_ALL, "authd: restart_authd_cb called, authd died?");
sendto_realops_snomask(SNO_GENERAL, L_NETWIDE, "authd: restart_authd_cb called, authd died?");

if(helper != NULL)
{
Expand Down
2 changes: 1 addition & 1 deletion ircd/channel.c
Original file line number Diff line number Diff line change
Expand Up @@ -1336,7 +1336,7 @@ resv_chan_forcepart(const char *name, const char *reason, int temp_time)
remove_user_from_channel(msptr);

/* notify opers & user they were removed from the channel */
sendto_realops_snomask(SNO_GENERAL, L_ALL,
sendto_realops_snomask(SNO_GENERAL, L_NETWIDE,
"Forced PART for %s!%s@%s from %s (%s)",
target_p->name, target_p->username,
target_p->host, name, reason);
Expand Down
Loading