mirror of
https://github.com/unrealircd/unrealircd.git
synced 2026-07-05 01:33:13 +02:00
split all the local client stuff to acptr->local. makes it a lot easier to catch bugs.
If the IRCd crashes then it's likely not by this change but rather an existing issue that was previously gone unnoticed.
This commit is contained in:
@@ -96,7 +96,7 @@ CMD_FUNC(m_squit)
|
||||
if (acptr && IsMe(acptr))
|
||||
{
|
||||
acptr = cptr;
|
||||
server = cptr->sockhost;
|
||||
server = cptr->local->sockhost;
|
||||
}
|
||||
}
|
||||
else
|
||||
@@ -105,7 +105,7 @@ CMD_FUNC(m_squit)
|
||||
** This is actually protocol error. But, well, closing
|
||||
** the link is very proper answer to that...
|
||||
*/
|
||||
server = cptr->sockhost;
|
||||
server = cptr->local->sockhost;
|
||||
acptr = cptr;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user