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

Only channels
This commit is contained in:
8nlight 2023-08-07 18:18:00 +03:00
parent 168feddfe7
commit 0c820b8689
1 changed files with 1 additions and 1 deletions

2
main.c
View File

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