Загрузить файлы в «»

Only channels
This commit is contained in:
8nlight 2023-08-07 18:18:00 +03:00
parent 168feddfe7
commit 0c820b8689

2
main.c
View File

@ -28,7 +28,7 @@ char *GetFilename(void) {
} }
void WriteToFile(void) { void WriteToFile(void) {
if (client.msg[1] == '.') if (client.msg[1] == '.' || client.channel[0] != '#')
return; return;
char *filename = GetFilename(); char *filename = GetFilename();