Welcome message for new users, channel tracking docs. (0.41.2)
- Added welcome message when users join a channel: handle_join() now sends "Welcome, <nick>!" to the channel for non-bot users. The bot's own joins are silently ignored to avoid echo loops. - Added src_nick parameter to handle_join() to identify the joining user; the call site in irc_handle() was updated to pass src_nick. - Added doc comments to chans[] (global channel tracking array) and nchans (count of tracked channels) in irc.h. - Bumped version to 0.41.2 in CMakeLists.txt.
This commit is contained in:
parent
0f0e6a5b1b
commit
84fd78f0a0
3 changed files with 35 additions and 10 deletions
|
|
@ -1,6 +1,6 @@
|
|||
cmake_minimum_required(VERSION 3.13)
|
||||
|
||||
project(zynk VERSION 0.41.1 LANGUAGES C)
|
||||
project(zynk VERSION 0.41.2 LANGUAGES C)
|
||||
|
||||
# Prefer C99; the code is compatible with C99/C11
|
||||
set(CMAKE_C_STANDARD 99)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue