We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ac484e5 commit 32d1447Copy full SHA for 32d1447
server.c
@@ -331,6 +331,8 @@ char* Unsub(char buffer[BUFFER_SIZE]) // Unsubscribes client from specified chan
331
char* Sub(char buffer[BUFFER_SIZE])
332
{
333
char* id = GetIdFromBuffer(buffer, 3, 4);
334
+
335
336
if(ValidID(id) < 0) // Return if invalid id.
337
return replace_str("Invalid channel: xxx\n","xxx",id);
338
@@ -716,7 +718,7 @@ int main(int argc, char * argv[])
716
718
else if(strstr(bufferg, "LIVESTREAM") != NULL)
717
719
720
LiveStream(newsockfd, bufferg);
- msg = "IGNORE";
721
+ msg = "";
722
}
723
724
else
0 commit comments