projects
/
ircu2.10.12-pk.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Improve the clean-up of outdated IAuth instances on rehash (SF bug #2789656).
[ircu2.10.12-pk.git]
/
ircd
/
m_connect.c
diff --git
a/ircd/m_connect.c
b/ircd/m_connect.c
index d87b20a2249de990f7c43bbcb8ba9c54a35d8f62..ca4856d9d829bef15145e423787fb49ebaf0dbf0 100644
(file)
--- a/
ircd/m_connect.c
+++ b/
ircd/m_connect.c
@@
-247,15
+247,14
@@
int mo_connect(struct Client* cptr, struct Client* sptr, int parc, char* parv[])
/*
* Only allow LocOps to make local CONNECTS --SRB
*/
/*
* Only allow LocOps to make local CONNECTS --SRB
*/
- return
0
;
+ return
send_reply(cptr, ERR_NOPRIVILEGES)
;
}
else {
struct Client* acptr2;
struct Client* acptr3;
if (!(acptr3 = find_match_server(parv[3]))) {
}
else {
struct Client* acptr2;
struct Client* acptr3;
if (!(acptr3 = find_match_server(parv[3]))) {
- send_reply(sptr, ERR_NOSUCHSERVER, parv[3]);
- return 0;
+ return send_reply(sptr, ERR_NOSUCHSERVER, parv[3]);
}
/*
}
/*