script: don't get killed because of users
This commit is contained in:
parent
f9dced26ca
commit
ca05277ce7
|
@ -2197,6 +2197,9 @@ defn (fn_dot)
|
|||
return false;
|
||||
}
|
||||
|
||||
if (buf.len > 255)
|
||||
buf.s[255] = '\0';
|
||||
|
||||
printf ("PRIVMSG %s :%s%s\r\n", info->ctx, info->ctx_quote, buf.s);
|
||||
free (buf.s);
|
||||
return true;
|
||||
|
|
Loading…
Reference in New Issue