summary refs log tree commit diff
path: root/config.irc
AgeCommit message (Collapse)Author
4 daysAdd SETHOSTNAME commandNakidai
Also remove hostname argument from the cli. It'd be better to have it in a config file rather than passing through an argument, it was like that since times config file didn't exist, but time has changed
11 daysAdd OPER/SETOPERNakidai
SETOPER is a command for config, OPER is the one to authorize a user
12 daysAllow lf as well as crlfNakidai
For configuration it's important to allow IRC messages to end with \n. This also fixes a TODO from a previous commit and allows to connect to ircd using netcat
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