doc/lua-api #5
Loading…
Reference in a new issue
No description provided.
Delete branch "doc/lua-api"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
This commit refactors the IRC client implementation to use a single connection field instead of separate socket and TLS connection fields. It also implements proper signal handling for graceful shutdown, changes the log file permissions, updates configuration values, and improves the link grabbing and weather plugins with better error handling and API key management. # Previous message: Modernize Go code and fix Lua plugins Go changes: - Graceful shutdown via SIGINT/SIGTERM instead of select{} - DRY socket I/O: single conn field replaces Socket/SslSock branching - Fix Lua C return values: void functions return 0, info functions return 1 - Fix event.go nick parsing with bounds check - Log file permissions 0600 Lua changes: - example.lua: use register() not register_handler() - greet.lua: local variables, remove redundant string.format - join.lua, part.lua: use commandChar() instead of hardcoded ! - linkgrabber.lua: fix globals, fix URL regex, fix findLink gmatch, env var for path - weather.lua: API key from env var, local declarations