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
Author: Ghostwolf <foxxe@wtfs.net>
[ircu2.10.12-pk.git]
/
ircd
/
m_squit.c
diff --git
a/ircd/m_squit.c
b/ircd/m_squit.c
index 67d541bff1d15fc31b3ed57bbd4200434f068c54..b71d28e1b7d61aa2a7809d1caaa431880634b5b7 100644
(file)
--- a/
ircd/m_squit.c
+++ b/
ircd/m_squit.c
@@
-71,10
+71,10
@@
int ms_squit(struct Client* cptr, struct Client* sptr, int parc, char* parv[])
if (BadPtr(parv[parc - 1]))
comment = cli_name(sptr);
if (BadPtr(parv[parc - 1]))
comment = cli_name(sptr);
- acptr = Find
N
Server(server);
+ acptr = FindServer(server);
if (!acptr)
if (!acptr)
- acptr = FindServer(server);
+ acptr = Find
N
Server(server);
if (!acptr) {
protocol_violation(sptr, "Issued SQUIT for unknown server %s (ignored)",
if (!acptr) {
protocol_violation(sptr, "Issued SQUIT for unknown server %s (ignored)",
@@
-85,8
+85,7
@@
int ms_squit(struct Client* cptr, struct Client* sptr, int parc, char* parv[])
/* If they are squitting me, we reverse it */
if (IsMe(acptr)) {
/* If they are squitting me, we reverse it */
if (IsMe(acptr)) {
- cptr = acptr;
- acptr = &me;
+ acptr = cptr; /* Bugfix by Prefect */
}
timestamp = atoi(parv[2]);
}
timestamp = atoi(parv[2]);