mirror of
https://github.com/pissnet/pissircd.git
synced 2025-08-13 13:41:37 +01:00
- Added so stuff like Lost connection to, (report_error) only goes to realops
- Added some more descriptive error messages
This commit is contained in:
parent
5fcadbef9b
commit
36154d7b10
4 changed files with 10 additions and 8 deletions
2
Changes
2
Changes
|
@ -426,3 +426,5 @@
|
|||
- Fully added V:lines (doesn't really do much till the next version, since old versions don't support it)
|
||||
- Added /stats v to list V:lines (/stats V still does vhost.conf)
|
||||
- Added OpenBSD 2.x support, thanks to noriko for donating the development shell
|
||||
- Added so stuff like Lost connection to, (report_error) only goes to realops
|
||||
- Added some more descriptive error messages
|
||||
|
|
|
@ -208,8 +208,8 @@ extern struct SLink *find_user_link(/* struct SLink *, struct Client * */);
|
|||
#define ZIPSTUFF ""
|
||||
#endif
|
||||
|
||||
#define PROTOCTL_CLIENT "TOKEN WATCH=128 SAFELIST HCN PREFIX=@%+"
|
||||
#define PROTOCTL_SERVER "NOQUIT TOKEN NICKv2 SJOIN SJOIN2 UMODE2 ALN VL" ZIPSTUFF
|
||||
#define PROTOCTL_CLIENT "TOKEN WATCH=128 SAFELIST HCN PREFIX=@+%"
|
||||
#define PROTOCTL_SERVER "NOQUIT TOKEN NICKv2 SJOIN SJOIN2 UMODE2 ALN VL SJ3" ZIPSTUFF
|
||||
|
||||
#ifdef _WIN32
|
||||
/*
|
||||
|
|
|
@ -215,7 +215,7 @@ void report_error(text, cptr)
|
|||
if (err)
|
||||
errtmp = err;
|
||||
#endif
|
||||
sendto_ops(text, host, strerror(errtmp));
|
||||
sendto_realops(text, host, strerror(errtmp));
|
||||
ircd_log(text,host,strerror(errtmp));
|
||||
#ifdef USE_SYSLOG
|
||||
syslog(LOG_WARNING, text, host, strerror(errtmp));
|
||||
|
|
10
src/s_serv.c
10
src/s_serv.c
|
@ -539,11 +539,11 @@ int m_server(cptr, sptr, parc, parv)
|
|||
aconf = find_conf_servern(host);
|
||||
if (!aconf)
|
||||
{
|
||||
sendto_one(cptr,"ERROR :No Access (No N line) %s",
|
||||
sendto_one(cptr,"ERROR :No Access (No matching N:line) %s",
|
||||
inpath);
|
||||
sendto_locfailops("Access denied (No N line) %s",
|
||||
sendto_locfailops("Access denied (No matching N:line) %s",
|
||||
inpath);
|
||||
return exit_client(cptr, cptr, cptr, "No N line");
|
||||
return exit_client(cptr, cptr, cptr, "No matching N:line");
|
||||
}
|
||||
#ifdef CRYPT_LINK_PASSWORD
|
||||
/* use first two chars of the password they send in as salt */
|
||||
|
@ -912,8 +912,8 @@ int m_server_estab(cptr)
|
|||
{
|
||||
ircstp->is_ref++;
|
||||
sendto_one(cptr,
|
||||
"ERROR :Access denied. No N line for server %s", inpath);
|
||||
sendto_ops("Access denied. No N line for server %s", inpath);
|
||||
"ERROR :Access denied. No N:line for server %s", inpath);
|
||||
sendto_ops("Access denied. No N:line for server %s", inpath);
|
||||
return exit_client(cptr, cptr, cptr, "No N line for server");
|
||||
}
|
||||
if (!(bconf = find_conf(cptr->confs, host, CONF_CONNECT_SERVER)))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue