mirror of
https://github.com/unrealircd/unrealircd.git
synced 2026-07-03 08:13:14 +02:00
- Added SJOIN fix so it won't accept NULL channels
This commit is contained in:
@@ -1185,3 +1185,4 @@ v- Fixed some bugreport stuff
|
||||
-- upon unload. Will show a "3" in flags.
|
||||
- Added extras/m_rawto.c - 3rd party module. Fixed some documentation
|
||||
- Added andi's OpenBSD fix for the symbol issue with prefix _
|
||||
- Added SJOIN fix so it won't accept NULL channels
|
||||
|
||||
+5
-1
@@ -5162,7 +5162,11 @@ CMD_FUNC(m_sjoin)
|
||||
if (((i + 1) <= (parc - 2)))
|
||||
strcat(parabuf, " ");
|
||||
}
|
||||
|
||||
if (!chptr->users)
|
||||
{
|
||||
sub1_from_channel(chptr);
|
||||
return -1;
|
||||
}
|
||||
/* This sends out to SJ3 servers .. */
|
||||
Debug((DEBUG_DEBUG, "Sending '%li %s :%s' to sj3-!sjb64", ts, parabuf,
|
||||
parv[parc - 1]));
|
||||
|
||||
Reference in New Issue
Block a user