summary refs log tree commit diff
path: root/reply.c
AgeCommit message (Collapse)Author
4 daysAdd TOPIC and t channel flag supportNakidai
Yay, now there're topic!!
4 daysAdd LIST commandNakidai
Though it's kinda basic, but still
7 daysAdd channel mode editing supportNakidai
Well, an oper should have some way to manage their channel :)
8 daysAdd authorization for mode_channel()Nakidai
User has to be authorized in order to be able to change channel's modes.
10 daysRefactor MODENakidai
MODE command is used to manage modes of both users and channels. But since these tasks are quite different it'd be nice to split them to not have an if statement whose both branches occupe whole function
12 daysAdd OPER/SETOPERNakidai
SETOPER is a command for config, OPER is the one to authorize a user
12 daysAdd NAMESNakidai
So not it can show who's on the channel, yay. Though, no showing ops
13 daysAdd WHOIS and config parsingNakidai
Now users can query each other Plus, server info and creation date can be changed without recompiling using configuration file in IRC message format which is loaded on startup TODO: since readcfg uses IRC logic, handle() now should be able to deal with commands ending with simply \n
2026-02-01Enhance registration messagesNakidai
Now ircd responds with all replies up to 4 Plus memchr was wrong, yep
2026-02-01Add validationNakidai
Now there can't be single \r or \n in the message, erroneous nicks and channel names are rejected, and usernames are stripped on '@'
2026-01-30Add PING command v0.1.0Nakidai
Then I should make some logic for pinging others...
2026-01-30Add nickname checkingNakidai Perumenei
Yay, adding some validation to the data ^^
2026-01-12Implement 443Nakidai
2026-01-10Add basic user mode handlingNakidai
So, now there're all modes listed in RFC 2812. The only what they do now, though, is a +r restricting user from changing their nick
2026-01-07Add comments for some macrosNakidai
2026-01-07Use function with switch() in reply.cNakidai
Overall, this solution looks better. Also, now macro is better
2026-01-06Add basic channelsNakidai
Though they don't have modes, and JOIN/PART must be able to parse comma separated list of channels