1
0
mirror of https://github.com/unrealircd/unrealircd.git synced 2026-07-09 17:43:12 +02:00

Fix small memory leak in SJOIN.

This commit is contained in:
Bram Matthys
2019-05-27 19:20:25 +02:00
parent f046482761
commit 9e87f92c64
+1
View File
@@ -185,6 +185,7 @@ CMD_FUNC(m_sajoin)
":%s PART %s :%s",
acptr->name, chptr->chname, "Left all channels");
sendto_server(cptr, 0, 0, mtags, ":%s PART %s :Left all channels", acptr->name, chptr->chname);
free_message(mtags);
if (MyConnect(acptr))
RunHook4(HOOKTYPE_LOCAL_PART, acptr, acptr, chptr, "Left all channels");
remove_user_from_channel(acptr, chptr);